Commit Graph

96 Commits

Author SHA1 Message Date
DJ Delorie 866c244e59 merge from gcc:
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

	Revert:
	2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (flags_to_pass): Remove *dir variables that
	are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
	as well as prefix and exec_prefix.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (host_modules): Mark with the bootstrap
	flag packages on which gcc depends.
	* Makefile.tpl (all-bootstrap): Use it.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (flags_to_pass): Remove *dir variables that
	are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
	as well as prefix and exec_prefix.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
        * configure: Regenerate.
        * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
        * gcc/Makefile.tpl (compare): Use the result of the test.
        * gcc/Makefile.in: Regenerate.

2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
	Always relocate gcc and prev-gcc to the original names, even
	if the build fails.
	(new-cleanstrap, new-restage1, new-restage2, new-restage3):
	New targets.
2004-04-27 18:25:01 +00:00
Jim Wilson e2c248c18b Fix LDFLAGS related configure errors.
* Makefile.tpl (configure-[+module+], configure-gcc,
configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc):
Set and export LDFLAGS.
* Makefile.in: Regenerate.
2004-04-16 07:17:44 +00:00
Nathanael Nerode ef76efc6db 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
PR bootstrap/14871
	* Makefile.tpl: If we don't have built-in-tree target tools,
	use the ones found by configure rather than hacking around with
	program_transform_name.
	* configure.in: Give Makefile.tpl the information necessary
	to do that.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

2004-04-06  Nathanael Nerode  <neroden@gcc.gnu.org>

	PR bootstrap/14760
	* configure.in: When computing baseargs, strip *all* copies of
	offending options.  Also, don't match/substitute the trailing space,
	so that this actually works when two similar options are separated by
	only one space.
	* configure: Regenerate.

2004-04-06  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Remove target-libada from noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.
2004-04-09 05:17:48 +00:00
Nathanael Nerode 38955e3506 * Makefile.tpl (top level bootstrap support): Remove now-unneeded
STRICT_WARN, WARN_CFLAGS flags passed down to make.
	* Makefile.in: Regenerate.
2004-03-25 01:38:31 +00:00
Nathanael Nerode f06f3d7c4d * configure.in (top level bootstrap support): Rework --enable-werror
to set @stage2_werror_flag@.
	* configure: Regenerate.
	* Makefile.tpl (top level bootstrap support): Pass
	@stage2_werror_flag@ down to configure in stages 2 and 3.
	* Makefile.in: Regenerate.
2004-03-24 22:34:31 +00:00
Nathanael Nerode 7810a29372 2004-03-23 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure
	for stages 2 and 3 as well as in make.  As a consequence, remove
	OUTPUT_OPTION (now detected by configure) from the flags passed down
	to make.
	* Makefile.in: Regenerate.

	* Makefile.tpl (new-bootstrap): Fix typo.
	* Makefile.in: Regenerate.
2004-03-24 04:31:23 +00:00
Nathanael Nerode 8ec98d6c38 * Makefile.tpl: Rearrange by moving recursive_targets rules
into their proper sections.
	* Makefile.tpl (top level bootstrap support): Move disabling
	of coverage flags from 'make' to 'configure'; improve comments.
	* Makefile.in: Regenerate.

	* Makefile.tpl (experimental top level bootstrap) Move stage1
	language setting from all- target to configure- target; disable
	intermodule optimization in stage 1; prevent gratuitous rebuilds
	of stage 1.
	* Makefile.in: Regenerate.
	* configure.in: Comma-separate stage 1 language list for top
	level bootstrap.
	* configure: Regenerate.

	* Makefile.tpl: Clean up experimental top level bootstrap support:
	note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate
	prev-gcc in configure- targets as well as all- targets.
	* Makefile.in: Regenerate.
2004-03-22 11:59:20 +00:00
Nathanael Nerode f600e87caf 2004-03-17 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Remove symbolic link section.
	* configure: Regenerate.
	* Makefile.tpl (links): Remove.
	* Makefile.in: Regenerate.
2004-03-17 19:26:07 +00:00
Nathanael Nerode 457eaf16aa 2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Introduce experimental top level bootstrap support.
	* Makefile.in: Regenerate.
	* configure.in: Introduce support for top level bootstrap.
	* configure: Regenerate.
2004-03-16 00:04:59 +00:00
Nathanael Nerode 07bc9e41fb PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
	* Makefile.tpl: Add dependency for configure-target-libada.
	* Makefile.in: Regenerate (incidentally fixes broken
	commit when libada-branch was merged).
2004-02-28 22:03:47 +00:00
DJ Delorie 8e5d1131de * Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.
* Makefile.tpl (configure-target-[+module+]): Support stage.
* Makefile.in: Rebuilt.
2004-01-14 21:13:34 +00:00
Nathanael Nerode 1d1abb620d * configure.in: Use ./config.cache, not config.cache.
* configure: Regenerate.
	* Makefile.tpl: Special-casing not needed for GCC any more.
	* Makefile.in: Regenerate.
2004-01-05 04:38:54 +00:00
Nathanael Nerode d50c22461c * Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.
2004-01-03 18:31:06 +00:00
Nathanael Nerode 08bf2e60de 2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
Port change over from GCC:
	2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
	* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
	(configure-build-[+module+], configure-[+module+]): Likewise.
	(configure-target-[+module+], configure-gcc, config.status): Likewise.
	* Makefile.in: Regenerate.
2003-12-19 15:13:56 +00:00
DJ Delorie 83f3d5bece * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* Makefile.in: Regenerate.
2003-11-19 19:56:22 +00:00
Nathanael Nerode 2286046e47 * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
	* Makefile.in: Regenerate.
2003-10-13 21:45:29 +00:00
DJ Delorie e9ea9dec2c 2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt
2003-10-08 21:29:04 +00:00
Nathanael Nerode 0487be9a1f * Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.in: Regenerate.

	* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
	* Makefile.in: Regenerate.
2003-09-20 21:19:02 +00:00
Nathanael Nerode 2a33c5f1ed Merge from gcc:
2003-08-01  Matt Kraai  <kraai@alumni.cmu.edu>
	* Makefile.tpl (check, check-c++): Express dependencies using
	dependencies rather than commands.
	* Makefile.in: Regenerate.

	2003-07-31  Geoffrey Keating  <geoffk@apple.com>
	* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
	* Makefile.in: Update.
2003-08-02 02:00:38 +00:00
Nathanael Nerode df4b5a9c5a * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
creating target and build subdirs to build all parent dirs as needed.
	* Makefile.in: Rebuild.
	* configure.in: Don't build dirs explicitly here.
	* configure: Rebuild.
2003-07-28 03:27:46 +00:00
Alexandre Oliva 8d57e6682b * Makefile.tpl (all-make): Depend on intl.
* Makefile.in: Rebuilt.
2003-07-22 19:03:26 +00:00
Nathanael Nerode 282c0e4790 * Makefile.tpl: Set INSTALL and friends using autoconf. Remove
unused INSTALL_PROGRAM_ARGS.
	* configure.in: Use AC_PROG_INSTALL.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2003-07-13 20:49:42 +00:00
H.J. Lu 5230d454ea 2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* config-ml.in: Replace PWD with PWD_COMMAND.
	* Makefile.tpl: Likewise.
	* Makefile.in: Regenerated.
2003-07-06 21:38:00 +00:00
Keith Seitz c72bff5073 * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
* Makefile.in: Regenerate.
2003-06-23 21:30:43 +00:00
Nathanael Nerode 47cd8327a5 * Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
	* Makefile.in: Regenerate.
2003-06-23 20:36:40 +00:00
Nathanael Nerode c137329abb (sync with gcc)
* Makefile.tpl: Remove BUILD_CC stuff.
	* Makefile.in: Regenerate.
2003-06-17 21:59:09 +00:00
DJ Delorie 7f74e6a363 Merge these:
2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
	* configure. Regenerate.

2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Disable serial configure by default.
	* configure: Regenerate.
	* Makefile.tpl: Abolish .NOTPARALLEL.
	* Makefile.in: Regenerate.
2003-06-12 16:06:52 +00:00
Nathanael Nerode 7e9ae1908d * Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
	* Makefile.in: Regenerate.
2003-06-10 22:25:49 +00:00
Nathanael Nerode ea170cd1f1 * Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.
2003-06-10 13:37:14 +00:00
Nathanael Nerode 606989edc4 * Makefile.tpl: Remove bogus conditional.
* Makefile.in: Regenerate.
2003-06-10 02:11:57 +00:00
Nathanael Nerode 657b58f4aa * Makefile.tpl: Make 'recursive targets' using autogen rather
than shell loop.  Remove duplicate 'clean' targets and false
	comments.
	* Makefile.def: Add systematic dependencies to 'recursive' targets.
	Add systematic method of specifying missing targets in subdirs.
	Add copyright boilerplate.
	* Makefile.in: Regenerate.
	* configure.in: Add 'recursive targets' to maybe list.
	* configure: Regenerate.
2003-06-03 20:44:31 +00:00
Nathanael Nerode 878813bd4f * Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.
2003-06-03 16:36:52 +00:00
DJ Delorie 4218d88897 * Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.in: Regenerate.
2003-05-28 19:16:29 +00:00
DJ Delorie a12a8d41d2 * Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
newlib or libgloss.
* Makefile.in: Regenerate.
2003-05-22 02:36:57 +00:00
DJ Delorie 6584320e0f * Makefile.tpl: Add missing empty maybe-check-gcc target.
* Makefile.in: Regenerate.
2003-05-21 21:08:20 +00:00
Nathanael Nerode 70ffc14893 2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Switch more things to use maybe dependencies.
	* Makefile.tpl: Switch more things to use maybe dependencies.
	Factor out common code from autogen IF statements.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
2003-05-20 01:05:39 +00:00
Nathanael Nerode 9b52096310 <top level>
* configure.in: Switch more things to use maybe dependencies.
	Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
	* configure: Regenerate.
	* Makefile.tpl: Switch more things to use maybe dependencies.
	* Makefile.in: Regenerate.

<config>
	* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
	_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
	GCC_TOPLEV_SUBDIRS.
2003-05-18 15:49:06 +00:00
Andreas Jaeger 7deb454089 2003-05-15 Andreas Schwab <schwab@suse.de>
* Makefile.tpl (install-opcodes): Define.
	* Makefile.in: Rebuild.
2003-05-16 18:09:25 +00:00
Chris Demetriou 37e8e528aa 2003-05-02 Chris Demetriou <cgd@broadcom.com>
* Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
        * Makefile.in: Regenerate.
2003-05-03 01:31:50 +00:00
Daniel Jacobowitz f29d8007e7 * Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
2003-04-28 02:24:35 +00:00
DJ Delorie 8997bae831 * Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.

* configure.in (powerpc64*-*-linux*): Remove.
* configure: Rebuilt.
2003-04-19 00:19:40 +00:00
DJ Delorie 09f7abda72 * Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap,
and restrap.
* Makefile.in:  Regenerate.

* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.
2003-04-17 21:30:52 +00:00
Nathanael Nerode 1c53cd00ba * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.
2003-03-14 20:49:14 +00:00
Nathanael Nerode ac2edfb863 * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
	* Makefile.in: Regenerate.
	* configure.in: Clean up gxx_include_dir logic.
	* configure: Regenerate.
2003-03-12 20:47:07 +00:00
Nathanael Nerode 2245eb63ea 2003-03-04 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Include $(build_tooldir)/sys-include in
	FLAGS_FOR_TARGET.
	* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Reindent.
	* Makefile.in: Regenerate.
	* configure.in: Reindent.  Don't set unused variables.
	* configure: Regenerate.
2003-03-05 01:50:53 +00:00
Nathanael Nerode 76ab491adb * Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

	* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
	* Makefile.in: Regenerate.
	* configure.in: Remove unused logic relating to --enable-shared
	and --enable-threads.  Remove bogus comments.  Remove redundant
	noconfigdirs.
	* configure: Regenerate.

	* configure.in: Replace ${libstdcxx_version} by its value.
	Remove reference to mh-dgux.
	* configure: Regenerate.
2003-03-04 07:48:06 +00:00
Nathanael Nerode ff0592df9e * Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.
2003-02-28 18:03:31 +00:00
DJ Delorie d4806224b6 * Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.
2003-02-21 01:55:12 +00:00
Alexandre Oliva 3728f201f9 * configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
2003-02-19 23:40:12 +00:00
Jason Merrill 872173c8be * Makefile.tpl (check-c++): Allow parallelism. 2003-02-18 20:12:50 +00:00