diff mbox

[cxx-conversion] Switch default to build in C++

Message ID 20120411163724.GA14421@google.com
State New
Headers show

Commit Message

Diego Novillo April 11, 2012, 4:37 p.m. UTC
This patch makes the branch to build in C++ mode by default.

Tested on x86_64.  Committed.


ChangeLog.cxx-conversion
	* configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
	* configure: Regenerate.

gcc/ChangeLog.cxx-conversion
	* configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
	* configure: Regenerate.

libcpp/ChangeLog.cxx-conversion
	* configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
	* configure: Regenerate.

Comments

Richard Biener April 12, 2012, 8:31 a.m. UTC | #1
On Wed, Apr 11, 2012 at 6:37 PM, Diego Novillo <dnovillo@google.com> wrote:
> This patch makes the branch to build in C++ mode by default.
>
> Tested on x86_64.  Committed.

Note that for merging the branch the support to build with a C host compiler
should be removed (and docs updated).

Richard.

>
> ChangeLog.cxx-conversion
>        * configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
>        * configure: Regenerate.
>
> gcc/ChangeLog.cxx-conversion
>        * configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
>        * configure: Regenerate.
>
> libcpp/ChangeLog.cxx-conversion
>        * configure.ac (ENABLE_BUILD_WITH_CXX): Default to 'yes'.
>        * configure: Regenerate.
>
> Index: configure.ac
> ===================================================================
> --- configure.ac        (revision 186326)
> +++ configure.ac        (working copy)
> @@ -1191,7 +1191,7 @@
>  [AS_HELP_STRING([--enable-build-with-cxx],
>                [build with C++ compiler instead of C compiler])],
>  ENABLE_BUILD_WITH_CXX=$enableval,
> -ENABLE_BUILD_WITH_CXX=no)
> +ENABLE_BUILD_WITH_CXX=yes)
>
>  # Build stage1 with C and build stages 2 and 3 with C++.
>  AC_ARG_ENABLE(build-poststage1-with-cxx,
> Index: gcc/configure.ac
> ===================================================================
> --- gcc/configure.ac    (revision 186326)
> +++ gcc/configure.ac    (working copy)
> @@ -608,7 +608,7 @@
>  [AS_HELP_STRING([--enable-build-with-cxx],
>                [build with C++ compiler instead of C compiler])],
>  ENABLE_BUILD_WITH_CXX=$enableval,
> -ENABLE_BUILD_WITH_CXX=no)
> +ENABLE_BUILD_WITH_CXX=yes)
>  AC_SUBST(ENABLE_BUILD_WITH_CXX)
>  if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
>   AC_DEFINE(ENABLE_BUILD_WITH_CXX, 1,
> Index: libcpp/configure.ac
> ===================================================================
> --- libcpp/configure.ac (revision 186326)
> +++ libcpp/configure.ac (working copy)
> @@ -22,7 +22,7 @@
>  AC_ARG_ENABLE(build-with-cxx,
>  [  --enable-build-with-cxx build with C++ compiler instead of C compiler],
>  ENABLE_BUILD_WITH_CXX=$enableval,
> -ENABLE_BUILD_WITH_CXX=no)
> +ENABLE_BUILD_WITH_CXX=yes)
>  AC_SUBST(ENABLE_BUILD_WITH_CXX)
>
>  MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
Diego Novillo April 12, 2012, 12:15 p.m. UTC | #2
On 4/12/12 4:31 AM, Richard Guenther wrote:
> On Wed, Apr 11, 2012 at 6:37 PM, Diego Novillo<dnovillo@google.com>  wrote:
>> This patch makes the branch to build in C++ mode by default.
>>
>> Tested on x86_64.  Committed.
>
> Note that for merging the branch the support to build with a C host compiler
> should be removed (and docs updated).

Thanks.  Yes, I already had that in mind.


Diego.
diff mbox

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 186326)
+++ configure.ac	(working copy)
@@ -1191,7 +1191,7 @@ 
 [AS_HELP_STRING([--enable-build-with-cxx],
 		[build with C++ compiler instead of C compiler])],
 ENABLE_BUILD_WITH_CXX=$enableval,
-ENABLE_BUILD_WITH_CXX=no)
+ENABLE_BUILD_WITH_CXX=yes)
 
 # Build stage1 with C and build stages 2 and 3 with C++.
 AC_ARG_ENABLE(build-poststage1-with-cxx,
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 186326)
+++ gcc/configure.ac	(working copy)
@@ -608,7 +608,7 @@ 
 [AS_HELP_STRING([--enable-build-with-cxx],
 		[build with C++ compiler instead of C compiler])],
 ENABLE_BUILD_WITH_CXX=$enableval,
-ENABLE_BUILD_WITH_CXX=no)
+ENABLE_BUILD_WITH_CXX=yes)
 AC_SUBST(ENABLE_BUILD_WITH_CXX)
 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
   AC_DEFINE(ENABLE_BUILD_WITH_CXX, 1,
Index: libcpp/configure.ac
===================================================================
--- libcpp/configure.ac	(revision 186326)
+++ libcpp/configure.ac	(working copy)
@@ -22,7 +22,7 @@ 
 AC_ARG_ENABLE(build-with-cxx,
 [  --enable-build-with-cxx build with C++ compiler instead of C compiler],
 ENABLE_BUILD_WITH_CXX=$enableval,
-ENABLE_BUILD_WITH_CXX=no)
+ENABLE_BUILD_WITH_CXX=yes)
 AC_SUBST(ENABLE_BUILD_WITH_CXX)
 
 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing