This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --enable-languages=c --enable-build-with-cxx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]