[LLVMdev] How to fix bug

huyite huyite.vn at gmail.com
Sun Nov 30 07:51:10 PST 2014


Please help me.

How do I fix this bug

 

@ubuntu:~/Documents/test$ clang hello.c -o hello

/usr/bin/ld: cannot find crt1.o: No such file or directory

/usr/bin/ld: cannot find crti.o: No such file or directory

/usr/bin/ld: cannot find crtbegin.o: No such file or directory

/usr/bin/ld: cannot find -lgcc

/usr/bin/ld: cannot find -lgcc_s

clang-2: error: linker command failed with exit code 1 (use -v to see
invocation)

Best regards,

    Huy

 

Mobile: 01668178291

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141130/f05fb2dd/attachment.html>


More information about the llvm-dev mailing list