This is the mail archive of the gcc@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: Switching to C++ by default in 4.8


Tristan Gingold <gingold@adacore.com> writes:

> On Apr 3, 2012, at 7:37 PM, Diego Novillo wrote:
>
>> 
>> We would like to start the process to make GCC 4.8 build in C++ mode by default.
>> 
>> The mechanics of the change are simple enough.  I volunteer to test changing the default on all primary targets (assuming I can get them from the GCC build farm).
>
> Is it already possible to build stage1 with c++ ?

Yes.  There are two relevant configure options: --enable-build-with-cxx
and --enable-build-poststage1-with-cxx.  Currently the first defaults to
no and the second defaults to yes.  The change in question would be
making the first default to yes.


> The VMS targets are not yet ready with build in C++ mode.  This target
> is somewhat special because it can be built only with a cross-compiler
> (we don't support regular 3 stages native builds because there is no
> complete and working well enough UNIX emulation tools).
>
> I started to build g++ (and gfortran) for ia64 and alpha VMS in order
> to prepare this transition, but having a soft path would be better to
> me.

Sounds like you would need to have a C++ cross-compiler for VMS.  What
are the issues with making that work?

Ian


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