[LLVMdev] How to fix bug

Jingyue Wu jingyue at google.com
Sun Nov 30 09:00:53 PST 2014


Dose this help?
http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o

Jingyue

On Sun Nov 30 2014 at 7:53:38 AM huyite <huyite.vn at gmail.com> wrote:

> 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*
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141130/b9c56336/attachment.html>


More information about the llvm-dev mailing list