Error building ghc on raspberry pi.

Ben Gamari bgamari.foss at gmail.com
Sun Jan 13 05:29:58 CET 2013


roconnor at theorem.ca writes:

> On Sat, 12 Jan 2013, Ben Gamari wrote:
>
>>    SRC_HC_OPTS        = -H64m -Rghc-timing
>>    GhcStage1HcOpts    = -O -fvia-C
>>    GhcStage2HcOpts    = -O0 -fllvm -keep-llvm-files -debug -DDEBUG -optc-mfloat-abi=hard -optc-mcpu=cortex-a9 -optlc-float-abi=hard -optlc-mcpu=cortex-a9
>>    GhcLibHcOpts       = -O -fllvm -optc-mfloat-abi=hard -optc-mcpu=cortex-a9 -optlc-float-abi=hard -optlc-mcpu=cortex-a9
>
> You've written "-optc-mfloat-abi=hard -optc-mcpu=cortex-a9" twice in your 
> GhcLibHcOpts.
>
Not quite, one is -optc (apparently passed to gcc) and the other is
-optlc (passed to llc). 

Cheers,

- Ben




More information about the Glasgow-haskell-users mailing list