[LLVMdev] Can you hint on solution to following problem

Chris Lattner sabre at nondot.org
Mon Dec 8 01:12:01 PST 2003


On Sun, 7 Dec 2003, Umar Janjua wrote:

> gccld: Cannot find linker input file 'crtend.o
> I have set the LLVM_LIB_SEARCH_PATH
>  ls -l $LLVM_LIB_SEARCH_PATH
> total 104
> -rw-r--r--    1 muj20    muj20       12788 Dec  7 17:05 crtend.o
> -rw-r--r--    1 muj20    muj20        1984 Dec  7 17:05 libc.bc
> -rw-r--r--    1 muj20    muj20         120 Dec  7 17:05 libcurses.bc

I'm really not sure.  Can you send some more details?  For example, are
you using LLVM 1.0 or LLVM CVS?  If you are using the LLVM 1.0 C/C++
front-end with the LLVM CVS tree, you will probably have to do 'make
install' in the llvm/runtime directory to install the updated runtime
libraries in the LLVM_LIB_SEARCH_PATH directory.

Also, if this doesn't help, please send the output of 'gccld -v
<arguments>' if you would.  If you are using gccld indirectly through the
llvmgcc compiler driver, just pass '-Wl,-v' on the llvmgcc command-line.

Thanks,

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list