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]

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


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


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