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: Question on BOOT_CFLAGS vs. CFLAGS


Paul Brook wrote:
> On Friday 15 December 2006 01:37, Josh Conner wrote:
>> All -
>>
>> When I configure with --disable-bootstrap and build with:
>>
>>   CFLAGS="-g -O0"
>>
>> The resultant compiler is built with the specified options.  However, if
>> I --enable-bootstrap, when I build with the same CFLAGS, these options
>> are not used to build the final compiler.  I can get past this by using
>> BOOT_CFLAGS="-g -O0", but that seems a bit inconsistent.
>>
>> My question is:  Is this behaving as designed or would it be reasonable
>> to file a bug and/or supply a patch to change the behavior so that
>> CFLAGS are respected whether bootstrapping is enabled or not?
> 
> It is working as documented:
> 
> http://gcc.gnu.org/onlinedocs/gccint/Makefile.html
> http://gcc.gnu.org/install/build.html

OK - it seemed a bit strange to me, but I'm glad to hear it is behaving
as intended.

- Josh


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