[cfe-commits] [PATCH] Fix GCC triple for preview gcc4.4 on CentOS 32 bit

NAKAMURA Takumi geek4civic at gmail.com
Fri Dec 7 07:29:27 PST 2012


Bruce, is it capable of selfhosting?

LGTM. FYI, x86_64-redhat-linux6E (aka CentOS5 x86-64) had been working
with gcc44-c++.

...Takumi

2012/12/8 Bruce Stephens <bruce.r.stephens at gmail.com>:
> On a 32-bit CentOS 5.8 (very similar to Red Hat Enterprise), clang
> doesn't build very well against the normal gcc, g++. So I installed and
> used gcc44 and gcc44-c++, but clang continues to use the 4.1.2
> headers. I see that there's already a x86_64-redhat-linux6E, so
> presumably adding the 32-bit equivalent also makes sense.
>
> ---
>  lib/Driver/ToolChains.cpp |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
> index 179f0fd..eac9d3a 100644
> --- a/lib/Driver/ToolChains.cpp
> +++ b/lib/Driver/ToolChains.cpp
> @@ -1094,6 +1094,7 @@ Generic_GCC::GCCInstallationDetector::GCCInstallationDetector(
>      "i686-pc-linux-gnu",
>      "i486-linux-gnu",
>      "i386-linux-gnu",
> +    "i386-redhat-linux6E",
>      "i686-redhat-linux",
>      "i586-redhat-linux",
>      "i386-redhat-linux",
> --
> 1.7.9.2.302.g3724c
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list