diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-09-03 05:55:57 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2009-09-03 05:55:57 +0000 |
commit | e12c40944905e48a1830861c63e6e39ae67eb8b0 (patch) | |
tree | 25dfd748372489c6fc5d3fdee9ab3613caae4dc5 /config | |
parent | 95da10ea1894ddc616d2d1a28f787e2c7b9a85e8 (diff) | |
download | gcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.zip gcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.tar.gz gcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.tar.bz2 |
configure.ac (--with-build-config): New.
ChangeLog:
* configure.ac (--with-build-config): New. Set BUILD_CONFIG.
Default to bootstrap-debug only if compare-debug works.
* configure: Rebuilt.
* Makefile.tpl: Make BUILD_CONFIG configure-configurable.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
gcc/ChangeLog:
* doc/invoke.texi (BUILD_CONFIG): Document --with-build-config.
(bootstrap-debug): Explain conditions in which it becomes default.
(bootstrap-debug-big): Rather than duplicate bootstrap-debug,
make it add to it.
From-SVN: r151367
Diffstat (limited to 'config')
-rw-r--r-- | config/bootstrap-debug-big.mk | 2 | ||||
-rw-r--r-- | config/bootstrap-debug-lean.mk | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/config/bootstrap-debug-big.mk b/config/bootstrap-debug-big.mk index e657735..855ddc2 100644 --- a/config/bootstrap-debug-big.mk +++ b/config/bootstrap-debug-big.mk @@ -3,6 +3,6 @@ # stage3, it generates dumps during stage2 and stage3, saving them all # until the final compare. -STAGE2_CFLAGS += -gtoggle -fdump-final-insns +STAGE2_CFLAGS += -fdump-final-insns STAGE3_CFLAGS += -fdump-final-insns do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 diff --git a/config/bootstrap-debug-lean.mk b/config/bootstrap-debug-lean.mk index 5666d3f..e215280 100644 --- a/config/bootstrap-debug-lean.mk +++ b/config/bootstrap-debug-lean.mk @@ -1,11 +1,11 @@ -# This BUILD_CONFIG option is a bit like bootstrap-debug, but in -# addition to comparing stripped object files, it also compares -# compiler internal state during stage3. +# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather +# than comparing stripped object files, it compares compiler internal +# state during stage3. Both can be used simultaneously. -# This makes it slower than bootstrap-debug, for there's additional -# dumping and recompilation during stage3. bootstrap-debug-big can -# avoid the recompilation, if plenty of disk space is available. +# This makes it slower than bootstrap-debug alone, for there's +# additional dumping and recompilation during stage3. +# bootstrap-debug-big can avoid the recompilation, if plenty of disk +# space is available. -STAGE2_CFLAGS += -gtoggle -fcompare-debug= +STAGE2_CFLAGS += -fcompare-debug= STAGE3_CFLAGS += -fcompare-debug -do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 |