Error building ghc on raspberry pi.

Austin Seipp at
Sun Jan 13 05:29:52 CET 2013

On Sat, Jan 12, 2013 at 10:23 PM,  <roconnor at> wrote:
>>    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. Notice the difference between '-optc-...' and '-optlc-...'

The first one will pass options onto the C compiler (since you use the
GHC executable to compile the RTS and other things, this is

The first one passes the options onto LLVM's code generator tool,
'llc', so it also gets the ABI options right.


More information about the Glasgow-haskell-users mailing list