[cfe-dev] [PATCH] Add latest libstdc++ header path for Fedora 15
Justin Holewinski
justin.holewinski at gmail.com
Tue Oct 4 08:24:43 PDT 2011
On Mon, Oct 3, 2011 at 4:16 PM, Art Haas <ahaas at impactweather.com> wrote:
>
> Hi.
>
> The latest Fedora gcc packages are based on GCC-4.6.1, so the following
> small patch is needed to help locate header files such as
> "<bits/c++config.h>". With this change I can again build SVN clang with
> an installed 'clang++' binary built using GCC.
>
I can confirm this solves the Clang build issues on (current) Fedora 15.
Is this okay to commit?
>
> Thanks.
>
> Art Haas
>
> Index: lib/Frontend/InitHeaderSearch.cpp
> ===================================================================
> --- lib/Frontend/InitHeaderSearch.cpp (revision 141013)
> +++ lib/Frontend/InitHeaderSearch.cpp (working copy)
> @@ -714,6 +714,10 @@
> // Redhat based distros.
>
> //===------------------------------------------------------------------===//
> // Fedora 15
> + AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",
> + "x86_64-redhat-linux", "32", "", triple);
> + AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",
> + "i686-redhat-linux", "", "", triple);
> AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",
> "x86_64-redhat-linux", "32", "", triple);
> AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Thanks,
Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111004/7a21f9b3/attachment.html>
More information about the cfe-dev
mailing list