On Sat, Jan 12, 2013 at 10:23 PM, <rocon...@theorem.ca> 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 necessary.) The first one passes the options onto LLVM's code generator tool, 'llc', so it also gets the ABI options right. -- Regards, Austin _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users