This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: --enable-languages=c --enable-build-with-cxx
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 31 Aug 2009 23:05:29 +0000 (UTC)
- Subject: Re: --enable-languages=c --enable-build-with-cxx
- References: <20090831190057.GE31114@gmx.de>
On Mon, 31 Aug 2009, Ralf Wildenhues wrote:
> Currently, --enable-languages=c --enable-build-with-cxx fails because
> neither the C++ compiler nor libstdc++-v3 are built in Stage 1, but in
> Stage 2, CXX is set to .../prev-gcc/g++ and other variables are set
> accordingly. Is this combination supposed to work?
>
> If yes, is it supposed to only build the C++ compiler and associated
> library in Stage 1 but not in later stages?
>
> If no (to the first question), then shouldn't configure fail early?
It seems to me to be a perfectly valid configuration for building a cross
compiler or an non-bootstrapped native toolchain; it's only in the
bootstrap case that it doesn't make sense.
--
Joseph S. Myers
joseph@codesourcery.com