Without a C++ host compiler (AC_PROG_CXX fails) bootsrap with --enbale-build-with-cxx fails like config.status: creating nm config.status: creating Makefile config.status: creating gccbug config.status: creating ada/gcc-interface/Makefile config.status: creating ada/Makefile config.status: creating auto-host.h config.status: executing default commands make[2]: Leaving directory `/home/abuild/rguenther/obj' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/abuild/rguenther/obj' make: *** [all] Error 2 instead of complaining for the lack of a C++ host compiler.
A patch is here: http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00835.html
Subject: Bug 44432 Author: amylaar Date: Wed Jun 9 10:32:23 2010 New Revision: 160460 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160460 Log: PR bootstrap/44432 * configure.ac: Before using ZW_PROG_COMPILER_DEPENDENCIES for C++, check that C++ compiler works. * configure: Regenerate. Modified: trunk/libcpp/ChangeLog trunk/libcpp/configure trunk/libcpp/configure.ac
Fixed in trunk by revision 160460.