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


On Fri, 2006-12-15 at 01:42 -0800, Mike Stump wrote:
> On Dec 15, 2006, at 1:02 AM, Paolo Bonzini wrote:
> > The counter quote is obviously wrong, thanks for the report.
> 
> Why it is important to not have CFLAGS influence the build product?   
I think because bootstrapping is actually special compared to normal
building of other programs.

> The standard, is for it to so influence the build product.  Why is it  
> important for gcc to not follow the standard?

For BOOT_CFLAGS and STAGE1_CFLAGS, if we change them to be affected by
CFLAGS, we are going to run into issues where the compiler you are
building with understand an option but the bootstrapping one does not.
An example of this is building GCC with a non GCC compiler.  So how do
we handle that case, we split out STAGE1_CFLAGS and BOOT_CFLAGS.

Thanks,
Andrew Pinski 


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