
12 Jan
2013
12 Jan
'13
11:29 p.m.
On Sat, Jan 12, 2013 at 10:23 PM,
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 necessary.) The first one passes the options onto LLVM's code generator tool, 'llc', so it also gets the ABI options right. -- Regards, Austin