search for: thumbdefault

Displaying 2 results from an estimated 2 matches for "thumbdefault".

2012 Jul 24
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
...// FIXME: Thumb should just be another -target-feaure, not in the triple. StringRef Suffix = getLLVMArchSuffixForARM(getARMTargetCPU(Args, Triple)); bool ThumbDefault = (Suffix.startswith("v7") && getTriple().isOSDarwin()); Just remove the check for Darwin. -Jim > As I have officially switched to clang for my project, I'm very > interested in seeing this fixed. :-) > > Regards, > S. > _________________________________...
2012 Jul 22
12
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 22 July 2012 20:42, Anton Korobeynikov <anton at korobeynikov.info> wrote: >> Any suggestions? > Try to specify CPU explicitly. He shouldn't have to, but that might help. Maybe setting -march? This is a big mess... I thought that v7 always assumed Thumb2 for the thumb flag, and v7M should always assume Cortex-M3 CPU if none provided. It's funny that James had a great