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]

Question on BOOT_CFLAGS vs. CFLAGS


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?

Thanks -

Josh


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