Top-level build machinery patch ping (Was: Re: [gccgo] Use -static-libstdc++ when building the Go compiler)

Ian Lance Taylor iant@google.com
Sat Nov 21 01:54:00 GMT 2009


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> On Fri, 20 Nov 2009, Ian Lance Taylor wrote:
>
>> When bootstrapping gccgo, the Go compiler winds up being built with
>> the current version of libstdc++.  That makes it a pain to run if the
>> current version of libstdc++ is newer than the system version.
>> Fortunately I introduced the -static-libstdc++ option to avoid just
>> this issue for the build-with-cxx branch.  This patch uses the option,
>> if it is supported, when building the Go compiler.  Committed to gccgo
>> branch.
>
> This should not override --with-host-libstdcxx (and my previous comments 
> <http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01719.html> that C++ code 
> should be linked with $(CC) in non-bootstrapped builds with 
> --with-host-libstdcxx apply equally here as they do to building the whole 
> compiler as C++ - i.e. things to get right before merging the Go compiler 
> to trunk, or building the whole compiler as C++ by default).

Speaking of your previous comments, I don't think anybody ever
reviewed 

http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01930.html

So: ping.

Ian



More information about the Gcc-patches mailing list