[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5

Anton Korobeynikov anton at korobeynikov.info
Sat Jan 9 07:15:29 PST 2010


Hello

> But I got the followings errors:
>
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:
> Assembler messages:
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:96:
Correct. You haven't specified any ARM specific stuff during llvm-gcc
conffigure (cpu type, fpu type, floating point abi, etc). This means
that default will be used. LLVM defaults to something like ARMv5,
binutils - to ARMv4. So, you just need to configure llvm-gcc properly.

Keep in mind, that binutils for ARM are known to be buggy, you need to
use binutils CVS snapshot (and even this is buggy - some bugs are not
yet fixed there).

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list