[LLVMdev] The right option combination to compile into ARM/Thumb2 code.
karel.gardas at centrum.cz
Sat Sep 3 01:58:46 PDT 2011
On 09/ 3/11 10:46 AM, James Molloy wrote:
> Hi Karel,
> It actually looks like the argument parser has parsed "thumb -mattr=v7,thumb2,vfp3" as the full argument to "-march=". Strange.
thanks a lot for this remark. It actually solved my issue. It was caused
by me telling GHC to pass all those params by using one -optlc parameter
but this indeed results in llc receiving whole this string as one
parameter. So instead of wrong:
I need to use:
where -optlc passes its argument to llc command.
More information about the llvm-dev