[LLVMdev] LLVM-gcc for ARM

corina s corina_fff at yahoo.com
Sat Jan 16 17:44:15 PST 2010


Hello,

At this moment I have built from scratch a gcc compiler for ARM and I have in the classpath the binaries.

arm-elf-gcc -v
Using built-in specs.
Target: arm-elf
Configured with: ../gcc-4.3.3/configure --target=arm-elf --prefix=/tmp/arm-cortex-toolchain --enable-interwork --enable-multilib --enable-languages=c,c++ --with-newlib --disable-shared --with-gnu-as --with-gnu-ld
Thread model: single
gcc version 4.3.3 (GCC) 


arm-elf-as -version
GNU assembler (GNU Binutils) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of
 `arm-elf'.

Then 
.../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c,c++  --with-gnu-ld=/home/arm/bin/arm-elf-ld 
--with-gnu-as=/home/arm/bin/arm-elf-as  
--target=arm-elf


Then the following errors appeared:
/tmp/ccm99Neh.s: Assembler messages:
/tmp/ccm99Neh.s:96: Error: selected processor does not support `sxtb r5,r5'
/tmp/ccm99Neh.s:537: Error: selected processor does not support `sxtb r6,r6'
/tmp/ccm99Neh.s:705: Error: selected processor does not support `sxtb r1,r1'
/tmp/ccm99Neh.s:711: Error: selected processor does not support `sxtb r1,r1'
make[3]: *** [libgcc/thumb/unwind-dw2-fde.o] Error 1


Any ideas?


Thank you,
Corina



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100116/8a5335e6/attachment.html>


More information about the llvm-dev mailing list