[LLVMdev] Using llvm-gcc with a simple program and the '-c' option

Reid Spencer reid at x10sys.com
Mon Feb 27 21:52:19 PST 2006


On Mon, 2006-02-27 at 20:43 -0800, Wink Saville wrote:
> > Try passing "-L/opt/llvm-1.6/llvm-gcc/lib/ -lcrtend" to llvm-ld. 
> This didn't work for me:
> llvm-ld -o t1.app t1.bc t1.a -L/opt/llvm-1.6/llvm-gcc/lib/ -lcrtend.a
> 
> I get two warning's about library 'crtend' missing
> 

You didn't get the instructions quite right. The option is -lcrtend not
-lcrtend.a

Reid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060227/4c0f5139/attachment.sig>


More information about the llvm-dev mailing list