This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12731] make bootstrap mostly ignores non-default CFLAGS
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2003 19:03:40 -0000
- Subject: [Bug bootstrap/12731] make bootstrap mostly ignores non-default CFLAGS
- References: <20031022185543.12731.bh@techhouse.brown.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.