[LLVMdev] linker errors when trying to link llvm-gcc
Anatoly Yakovenko
aeyakovenko at gmail.com
Tue May 25 13:25:04 PDT 2010
thanks, that worked, also interworking built without problems. i
haven't tested an elf with it yet though.
On Tue, May 25, 2010 at 12:46 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> ../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