gcc-4.7.1 build system question : why is "make bootstrap" with configure option '--enable-languages=c' building the C++ compiler ?
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Jul 8 15:37:00 GMT 2012
Hi,
The gcc-bugs mailing list is for automated emails from our Bugzilla
database. Your question is not about a bug, so would be more
appropriate on the gcc-help mailing list.
The answer to your question is that GCC itself is now built using a
C++ compiler, so it needs to build the C++ compiler to build itself,
see http://gcc.gnu.org/install/configure.html
--enable-build-poststage1-with-cxx
When bootstrapping, build stages 2 and 3 of GCC using a C++
compiler rather than a C compiler. Stage 1 is still built with a C
compiler. This is enabled by default and may be disabled using
--disable-build-poststage1-with-cxx.
More information about the Gcc-bugs
mailing list