Dose this help? <a href="http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o">http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o</a><br><br>Jingyue<br><br><div class="gmail_quote">On Sun Nov 30 2014 at 7:53:38 AM huyite <<a href="mailto:huyite.vn@gmail.com">huyite.vn@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Please help me.<u></u><u></u></p><p class="MsoNormal">How do I fix this bug<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">@ubuntu:~/Documents/test$ clang hello.c -o hello<u></u><u></u></p><p class="MsoNormal">/usr/bin/ld: cannot find crt1.o: No such file or directory<u></u><u></u></p><p class="MsoNormal">/usr/bin/ld: cannot find crti.o: No such file or directory<u></u><u></u></p><p class="MsoNormal">/usr/bin/ld: cannot find crtbegin.o: No such file or directory<u></u><u></u></p><p class="MsoNormal">/usr/bin/ld: cannot find -lgcc<u></u><u></u></p><p class="MsoNormal">/usr/bin/ld: cannot find -lgcc_s<u></u><u></u></p><p class="MsoNormal">clang-2: error: linker command failed with exit code 1 (use -v to see invocation)<u></u><u></u></p><p class="MsoNormal"><span lang="VI">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="VI"> Huy<u></u><u></u></span></p><p class="MsoNormal"><i><span lang="VI"><u></u> <u></u></span></i></p><p class="MsoNormal"><i><span lang="VI">Mobile: 01668178291<u></u><u></u></span></i></p><p class="MsoNormal"><u></u> <u></u></p></div></div>______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div>