This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on BOOT_CFLAGS vs. CFLAGS
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Josh Conner <jconner at apple dot com>
- Date: Fri, 15 Dec 2006 01:59:15 +0000
- Subject: Re: Question on BOOT_CFLAGS vs. CFLAGS
- References: <4581FC47.4050700@apple.com>
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
Paul