This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Avoid -Werror bootstrap failure with BUILD_CC=gcc-2.95
Neil Booth <neil@daikokuya.co.uk> writes:
> Zack Weinberg wrote:-
>
>> >> > GCC 2.95 warns here; GCC 3.4 is smarter. OK?
>> >>
>> >> This is fine as a defensive move, go ahead and check it in, but could
>> >> you please try to figure out why BUILD_CC isn't getting overridden in
>> >> stage 2 of a bootstrap?
>> >
>> > Well, that's easy. The question is, do we want BUILD_CC == CC?
>>
>> You had to go and ask that. Now I am not sure.
>
> Well, am I right in saying that only native compiles ever enter stage 2?
> If so, it can't hurt for BUILD_CC to be the same as CC during stage2.
See, that's what I thought, but maybe there's some weird scenario
where the user needs to override BUILD_CC during stage 2. Except I
can't think of one.
zw