<font color="#000000"><font face="verdana,sans-serif">I am using Ubuntu 11.04 and the hack that you have mentioned works. <br></font></font><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div>

<font class="Apple-style-span" face="verdana, sans-serif">Thanks</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Daya</font></div><div><br></div><div>On Thu, Jun 30, 2011 at 5:16 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span> wrote:</div>

<div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


llvm-ld: error: Cannot find library 'c'<br>
</blockquote>
<br></div>
I'm using this hack, but of course there should really be a correct fix for<br>
this "gcc multi-arch" issue.<br>
<br>
--- test-suite/Makefile.programs        (revision 134059)<br>
+++ test-suite/Makefile.programs        (working copy)<br>
@@ -362,6 +362,7 @@<br>
 # Disable asm-verbose.  This can slow down compilation and is not what the<br>
 # compilers default to using.<br>
 LLCFLAGS += -asm-verbose=false<br>
+LLVMLD_FLAGS += -L/usr/lib/x86_64-linux-gnu/<br>
<br>
 # If the program requires exception handling support, enable (potentially<br>
 # expensive) support for it.<br>
<br>
</blockquote></div><br></div>