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: Ian Lance Taylor <iant at google 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 12:26:56 -0700
- Subject: Re: --enable-languages=c --enable-build-with-cxx
- References: <20090831190057.GE31114@gmx.de>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:
> 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?
It would be nice if it worked. It's kind of an odd thing to do, though,
so it's OK if it fails.
> If yes, is it supposed to only build the C++ compiler and associated
> library in Stage 1 but not in later stages?
It can only work if it builds the C++ compiler in every stage except the
final one.
> If no (to the first question), then shouldn't configure fail early?
Yes, I think it should either work or fail early.
Ian