[LLVMdev] llvm-gcc cross compiling for ARM

Yuvaraj Ragupathi yuvaraj.addu at gmail.com
Thu Jul 7 04:38:48 PDT 2011


I am trying to cross compile llvm-gcc front for ARM target

Followed below steps

#../llvm-gcc-4.2-2.9.source/configure --program-prefix=llvm-
--enable-llvm=/home/yuvraj/llvm/llvm-2.9 --enable-languages=c,c++

# make

I am getting some kind of linker errors

/opt/arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find crtn.o: No such
file or directory

@ final stage.

I copied  crtn.o to current working directory. But getting same issue

How do i resolve this issue?


Yuvi R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110707/c07a988a/attachment.html>

More information about the llvm-dev mailing list