[LLVMdev] gcc cross compiler for arm works :-)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Oct 20 06:36:44 PDT 2006


I have just succeeded in compiling an AMD64->ARM cross compiler with
LLVM enabled :-)

I used the attached hack in llvm-gcc4 to change the default fpabi and
pass -meabi=4 to the assembler.

The configure line was:

../trunk/configure  --enable-llvm=/home/rafael/dev/llvm/build/
--enable-checking --disable-shared --disable-threads
--enable-languages=c --target=arm-none-linux-gnueabi
--prefix=/home/rafael/dev/llvm/gcc/inst-arm/ --with-fpu=vfp
--disable-multilib --disable-libmudflap

Best Regards,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc.patch
Type: application/octet-stream
Size: 1658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061020/43c291cb/attachment.obj>


More information about the llvm-dev mailing list