<div>ping...</div><div>Regards,</div><div>Stepan</div><div>14.09.2011, 11:41, "Anders Johnsen" <<a href="mailto:skabet@gmail.com">skabet@gmail.com</a>>:</div><blockquote><p>Hi,</p><p>I see this error as well.</p><p>- Anders</p><p>Sent from my HTC Desire S</p><div>On Sep 14, 2011 7:49 AM, "Stepan Dyatkovskiy" <<a href="mailto:STPWORLD@narod.ru">STPWORLD@narod.ru</a>> wrote:<br />> ping...<br />> <br />> Stepan.<br />> <br /> > 13.09.2011, 11:35, "Stepan Dyatkovskiy" <<a href="mailto:STPWORLD@yandex.ru">STPWORLD@yandex.ru</a>>:<br />>> Hello everybody. I have Ubuntu 11.04 x86 (not _64) installed on my Dell n5010 laptop. And I found that clang++ fails to compile ".cpp" files with next bucket of errors:<br /> >><br />>> /usr/bin/ld: cannot find crtbegin.o: No such file or directory<br />>> /usr/bin/ld: cannot find -lstdc++<br />>> /usr/bin/ld: cannot find -lgcc_s<br />>> /usr/bin/ld: cannot find -lgcc<br /> >> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br />>><br />>> The reason of this error is..<br />>><br />>> Most of linux systems places c++ libs in directory like this:<br /> >> /usr/lib/gcc/<triple>/<version><br />>> e.g.:<br />>> /usr/lib/gcc/i686-linux-gnu/4.5.2<br />>><br />>> But Ubuntu 11.04 has very specific paths of c++ libs:<br />>> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/<version><br /> >><br />>> And of course this path was not taken into account in current clang implementation.<br />>> Please find attached patch that fixes this error for review. If it will failed to download - let me know.<br /> >><br />>> Regards,<br />>> Stepan.<br />>><br />>> _______________________________________________<br />>> cfe-commits mailing list<br />>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br /> >> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br />> _______________________________________________<br />> cfe-commits mailing list<br /> > <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br />> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a></div></blockquote>