<div class="gmail_quote">On Mon, Oct 3, 2011 at 4:16 PM, Art Haas <span dir="ltr"><<a href="mailto:ahaas@impactweather.com">ahaas@impactweather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi.<br>
<br>
The latest Fedora gcc packages are based on GCC-4.6.1, so the following<br>
small patch is needed to help locate header files such as<br>
"<bits/c++config.h>". With this change I can again build SVN clang with<br>
an installed 'clang++' binary built using GCC.<br></blockquote><div><br></div><div>I can confirm this solves the Clang build issues on (current) Fedora 15.</div><div><br></div><div>Is this okay to commit?</div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks.<br>
<br>
Art Haas<br>
<br>
Index: lib/Frontend/InitHeaderSearch.cpp<br>
===================================================================<br>
--- lib/Frontend/InitHeaderSearch.cpp   (revision 141013)<br>
+++ lib/Frontend/InitHeaderSearch.cpp   (working copy)<br>
@@ -714,6 +714,10 @@<br>
     // Redhat based distros.<br>
     //===------------------------------------------------------------------===//<br>
     // Fedora 15<br>
+    AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",<br>
+                                "x86_64-redhat-linux", "32", "", triple);<br>
+    AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",<br>
+                                "i686-redhat-linux", "", "", triple);<br>
     AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",<br>
                                 "x86_64-redhat-linux", "32", "", triple);<br>
     AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>