This is the mail archive of the gcc-patches@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]

[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

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