<div class="gmail_quote">On Wed, Oct 12, 2011 at 4:32 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><br><div><div>On</div><div class="im"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br>
</div>Should probably install a newer clang or you can use CC=gcc CXX=g++ on your configure line. The clang-2.9 release should be in good enough shape to build top of tree llvm.<br></blockquote><div><br></div><div>Except on newer *nix distributions where clang-2.9 is not wired to detect the GCC installations.</div>

</div></blockquote><br></div></div><div>?</div><div><br></div><div>I'm not sure what you mean here?</div></div></blockquote><div><br></div><div>The clang 2.9 release does not support detecting the system C and C++ libraries on newer distributions (e.g. those that were released after clang 2.9 was released).  This is not necessarily an issue if you build a recent Clang, or use distribution packages (hopefully), but can be if you just download release 2.9.</div>
<div><br></div><div>With the 2.9 binary release on Ubuntu 11.10:</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">jholewinski@rapture [tests]$ cat test1.cpp</font></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">#include <iostream></span></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">int main() {</span></div>
<div><font class="Apple-style-span" face="'courier new', monospace">  std::cout << "Test\n";</font></div><div><font class="Apple-style-span" face="'courier new', monospace">  return 0;</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">}</font></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">jholewinski@rapture [tests]$ g++ test1.cpp -o test1.x</span></div>
<div><font class="Apple-style-span" face="'courier new', monospace">jholewinski@rapture [tests]$ ./clang+llvm-2.9-x86_64-linux.tar/bin/clang++ test1                                                                                         .cpp -o test1.x</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">test1.cpp:2:10: fatal error: 'iostream' file not found</font></div><div><font class="Apple-style-span" face="'courier new', monospace">#include <iostream></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">         ^</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1 error generated.</font></div><div><font class="Apple-style-span" face="'courier new', monospace">jholewinski@rapture [tests]$</font></div>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div><font color="#888888"><div>-eric</div><br></font></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>