This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gcc-in-cxx] PATCH COMMITTED: Build C++ as boot language
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Jun 2008 20:56:21 -0700
- Subject: [gcc-in-cxx] PATCH COMMITTED: Build C++ as boot language
I committed this patch to the gcc-in-cxx branch to build C++ as a boot
language.
I'm putting ChangeLog entries in ChangeLog.cxx on the branch.
Ian
2008-06-18 Ian Lance Taylor <iant@google.com>
* configure.ac: Build C++ in stage 1.
* configure: Rebuild.
Index: configure.ac
===================================================================
--- configure.ac (revision 136884)
+++ configure.ac (working copy)
@@ -1302,8 +1302,8 @@ fi
AC_SUBST(gmplibs)
AC_SUBST(gmpinc)
-# By default, C is the only stage 1 language.
-stage1_languages=,c,
+# By default, C and C++ are the only stage 1 languages.
+stage1_languages=,c,c++,
# Figure out what language subdirectories are present.
# Look if the user specified --enable-languages="..."; if not, use
@@ -1365,9 +1365,9 @@ if test -d ${srcdir}/gcc; then
esac
done
- new_enable_languages=,c,
+ new_enable_languages=,c,c++,
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
- potential_languages=,c,
+ potential_languages=,c,c++,
for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
case ${lang_frag} in