This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Add --enable-build-with-cxx to gcc subdirectory
On Mon, 22 Jun 2009, Ian Lance Taylor wrote:
> I think it would be a mistake to use --with-host-libstdcxx for stages
> 2 and 3 of a bootstrapped build. I will try to figure out how to use
Certainly stages 2 and 3 of a bootstrapped build would need to be
configured differently for how to link with the new libstdc++, so
different configure options would be right for that if anyone wishes to
implement the various possibilities, rather than applying
--with-host-libstdcxx there.
Apart from the linking with static libstdc++ by default, I imagine
GNU/Linux distributors would wish to install GCC binaries that link with
the shared libstdc++ (with no RPATH, relying on the shared library going
in a system directory such as /usr/lib) and there are other cases that
might sometimes be of use (linking with the shared library with either an
absolute RPATH or one using $ORIGIN).
--
Joseph S. Myers
joseph@codesourcery.com