[LLVMdev] Setting up a cross-compiler for cortex-m3

Renato Golin rengolin at systemcall.org
Mon Jul 23 11:14:31 PDT 2012


On 23 July 2012 17:03, Chris Cadwallader <ccadwallader at arxan.com> wrote:
> On Darwin, if -march is armv7 clang's driver will assume you want thumb2 unless you also give it -mno-thumb but that is irrelevant with mcpu=cortex-m3.

I think that Thumb2 should be the default for v7 on any system, not
just Darwin. Maybe some ARM folk can comment on this...

-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-dev mailing list