This is the mail archive of the
mailing list for the GCC project.
Re: PATCH RFA: Fix --enable-build-with-cxx
On Mon, Nov 15, 2010 at 11:31 PM, Mark Mitchell <email@example.com> wrote:
> On 11/15/2010 2:01 PM, Richard Guenther wrote:
>> Btw., I suggested earlier that an intermediate step to not break C++ build
>> and to excercise the various problems with installing and testing with
>> C++ built GCC without at the same time requiring a C++ host compiler
>> would be to build stage1 with a C compiler and stage2 and stage3 with
>> GCC as C++ compiler.
> That's a clever idea, but I think we should just bite the bullet. ?Do
> you see a need to do it in this way? ?We're talking about developers of
> GCC here, not end-users.
I was thinking that keeping the C host compiler would make the switch
possible during this stage3 (there were only very recent reports of fails
to use other than GCC host C++ compilers). It basically decouples the
host compiler issue from all the rest. And it would make sure that for
the next few month a bootstrap with C++ is actually possible, so patches
for 4.7 could be developed with the possible use of C++ in mind.
> Mark Mitchell
> (650) 331-3385 x713