On Mon, Oct 3, 2011 at 4:16 PM, Art Haas <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Thanks,
Justin Holewinski
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits