[Bug bootstrap/12731] make bootstrap mostly ignores non-default CFLAGS

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 19:03:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12731


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-22 19:03 -------
Read that page again:
If you wish to use non-default GCC flags when compiling the stage2 and stage3 compilers, set 
BOOT_CFLAGS on the command line when doing make bootstrap. Non-default optimization flags 
are less well tested here than the default of -g -O2, but should still work. In a few cases, you may 
find that you need to specify special flags such as -msoft-float here to complete the bootstrap; or, 
if the native compiler miscompiles the stage1 compiler, you may need to work around this, by 
choosing BOOT_CFLAGS to avoid the parts of the stage1 compiler that were miscompiled, or by 
using make bootstrap4 to increase the number of stages of bootstrap.



More information about the Gcc-bugs mailing list