[LLVMdev] The right option combination to compile into ARM/Thumb2 code. (original) (raw)
Karel Gardas karel.gardas at centrum.cz
Sat Sep 3 01:58:46 PDT 2011
- Previous message: [LLVMdev] The right option combination to compile into ARM/Thumb2 code.
- Next message: [LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi James,
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:
-optlc="-march=thumb -mattr=v7,thumb2,vfp3"
I need to use:
-optlc=-march=thumb -optlc=-mattr=v7,thumb2,vfp3
where -optlc passes its argument to llc command.
Thanks! Karel
- Previous message: [LLVMdev] The right option combination to compile into ARM/Thumb2 code.
- Next message: [LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]