[LLVMdev] linker errors when trying to link llvm-gcc

Anton Korobeynikov anton at korobeynikov.info
Tue May 25 12:46:57 PDT 2010


> ../llvm-gcc-4.2-2.7.source/configure
> --enable-llvm=/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-2.7
> --enable-multilib --enable-target-optspace --enable-interwork
> --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++
> --target=arm-elf
This means that the compiler is built for ARMv4 which is not pretty
good supported.
Try to switch to ARMv7, e.g. adding --with-cpu=cortex-a8. Also, LLVM
might not support interworking yet, so it's worth to remove this
option as well.

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



More information about the llvm-dev mailing list