Commit Graph

129 Commits

Author SHA1 Message Date
Paolo Bonzini 21ff191e82 2004-06-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (touch-stage[+id+]): New.
	(restage[+prev+]): Depend on touch-stage[+id+].

	* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
	Use it throughout.

	* Makefile.def: Add profile and feedback bootstrap stages.
	Remove next field from bootstrap stages.
	* Makefile.tpl (LN, LN_S): Substitute.
	(stageN-start, stageN-end): Use double-colon rules, to
	provide a hook for additional setup commands.
	(distclean-stageN-gcc, restageN): Create dependencies from
	[+prev+], not from [+next+].
	(stageN-bubble): Add commands for successive stages from
	[+prev+], using double-colon rules.
	(all-stageN-gcc): Fix typo.
	(stagefeedback-start, profiledbootstrap): New.
	* Makefile.in: Regenerate.
	* configure.in: Call ACX_PROG_LN.
	* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (ACX_PROG_LN): From gcc, modified to
	accept a parameter.
2004-06-09 08:32:35 +00:00
Christopher Faylor aac4e7d40f * configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.
2004-06-03 04:57:38 +00:00
Paolo Bonzini 8e1cb52875 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Remove new- prefix from toplevel
	bootstrap targets.
	* configure: Regenerate.
2004-06-01 07:54:42 +00:00
Paolo Bonzini e16662211d 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all.normal): Rename to all.
	(all): Replace with a rule to pick the default
	target from configure.
	(all-gcc, configure-gcc): Use conditionals to
	do nothing when toplevel bootstrap is going on.
	(GCC directory bootstrap) [gcc-bootstrap]: Disable.
	(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
	* configure.in: Support --enable-bootstrap.

	* Makefile.def: Remove new- prefix from toplevel
	bootstrap targets.
	* Makefile.tpl: Likewise.

	* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
	target.

	* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
	$(RECURSE_FLAGS) to recursive invocation of make.

	* Makefile.in: Regenerate.
	* configure: Regenerate.
2004-06-01 07:42:22 +00:00
Daniel Jacobowitz 6d9402b467 * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
* configure: Regenerate.
2004-05-27 18:22:27 +00:00
Paolo Bonzini 352694210f 2005-05-24 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Test the ability to symlink directories.
	* configure: Regenerate.

	* Makefile.def (bootstrap-stage): New definitions.
	* Makefile.tpl (configure-stage1-gcc,
	configure-stage2-gcc, configure-stage3-gcc,
	all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
	new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
	new-restage3, compare): Autogenerate, see Makefile.in
	entry for behavioral changes.
	(distclean-stage1, new-stage1-start, new-stage1-end,
	new-stage1-bubble, distclean-stage2, new-stage2-start,
	new-stage2-end, new-stage2-bubble, distclean-stage3,
	new-stage3-start, new-stage3-end): New autogenerated targets.
	(objext, prebootstrap, BOOT_CFLAGS,
	POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
	targets.

	* Makefile.in: Regenerate.
	(distclean-stage1, new-stage1-start, new-stage1-end,
	new-stage1-bubble, distclean-stage2, new-stage2-start,
	new-stage2-end, new-stage2-bubble, distclean-stage3,
	new-stage3-start, new-stage3-end): New targets.
	(all-stage1-gcc): Move prebootstrap dependency from here...
	(configure-stage1-gcc): ...to here.
	(new-bootstrap): Use bubble targets.
	(new-cleanstrap, new-restage1, new-restage2, new-restage3):
	Use per-stage distclean targets.
	(configure-stage1-gcc, configure-stage2-gcc,
	configure-stage3-gcc, all-stage1-gcc,
	all-stage2-gcc, all-stage3-gcc, new-bootstrap):
	Use new-stageN-start to prepare the tree.
2004-05-24 11:08:48 +00:00
Paolo Bonzini c580d51621 2004-05-23 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host_modules): add libcpp.
	* Makefile.tpl: Add dependencies on and for libcpp.
	* Makefile.in: Regenerate.
	* configure.in: Add libcpp host module.
	* configure: Regenerate.

config/ChangeLog:

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

	* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
	From gcc.
2004-05-24 10:45:14 +00:00
Paolo Bonzini a7e609d6a9 2004-05-21 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl: Whenever a recursive target is defined, wrap
	it in a special @if/@endif block, and prepare its maybe
	dependency in the @if/@endif block
	* configure.in: Instead of writing maybe dependencies, remove
	the @if/@endif statements, and remove the @if/@endif blocks
	that remain.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
2004-05-21 19:08:54 +00:00
Zack Weinberg e5a32b9a96 * Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
	* configure, Makefile.in: Regenerate.
2004-05-18 02:00:58 +00:00
DJ Delorie cb2333e85e merge from gcc 2004-05-13 18:14:28 +00:00
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
Rainer Orth b9618d1eee * configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.
2004-04-19 15:38:50 +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 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 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 4a95a7fe4a 2004-03-15 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX):
        Set with AC_CHECK_PROGS.
	* configure.in: Fix comment typo from last patch.
	* configure: Regenerate.
2004-03-16 22:21:55 +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 2e93c97146 2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/14522
	* configure.in: Cope with shells that do not support unquoted ^
	* configure: Regenerate.
2004-03-13 05:54:47 +00:00
DJ Delorie 967641f2aa 2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/14522
	* configure.in: Cope with shell that do not support nesting
	quotes inside quoted backquote substitutions.
	* configure: Regenerate.

2004-03-10  Andrew Pinski  <pinskia@physics.uc.edu>

	PR bootstrap/14522
	* configure.in: Fix escaping of $.
	* configure: Regenerate.
2004-03-11 18:30:52 +00:00
Nathanael Nerode cfc26d93b5 (top level)
2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure: Regenerate.

2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

	PR ada/14131
	Move language detection to the top level.
	* configure.in: Find default values for the tools as
	soon as possible.  Disable ada if GNAT is not found.
	Emit error message about missing languages.  Expand
	--enable-languages=all for the gcc subdirectory.

(config)
2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

	PR ada/14131
	Move language detection to the top level.
	* acx.m4 (ACX_PROG_GNAT): New macro, moved here
	from the gcc subdirectory.

2004-03-09  Hans-Peter Nilsson  <hp@axis.com>

	* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
	"-c".  Properly quote parameter for AC_MSG_ERROR.
2004-03-11 05:15:36 +00:00
Richard Sandiford 5bbdae8f39 * configure.in (mips64*-*-linux*): Override mips*-*-linux* case
and disable libgcj.
	* configure: Regenerated.
2004-03-01 19:34:14 +00:00
DJ Delorie 6c6a052230 * configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2004-02-11 17:52:06 +00:00
DJ Delorie b18ee8a2a6 * configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.
2004-02-11 17:50:38 +00:00
DJ Delorie d832a288e5 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.
2004-02-10 17:57:02 +00:00
DJ Delorie 4ea8488c70 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Don't pass --with-stabs on IRIX 5 either.
* configure: Regenerate.
2004-02-06 00:50:48 +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 68c6d8acfc * configure.in: Don't share a cache file for host dirs.
* configure: Regenerate.
2004-01-05 00:50:42 +00:00
Nathanael Nerode 5b28b6ef34 PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates
	to them.)
	* configure.in: Don't use shared config.cache for target
	directories.
	* configure: Regenerate.
2004-01-03 18:24:38 +00:00
DJ Delorie c8cbb48c30 * configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.
2004-01-01 00:07:51 +00:00
DJ Delorie 1fb9256d7e * configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.
2003-12-22 00:59:55 +00:00
Thomas Fitzsimmons 8e5f3482bc 2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.in (raw_libstdcxx_flags): Remove the leading space.
	* configure: Regenerate.
2003-12-08 21:19:41 +00:00
DJ Delorie 4883801c0f * configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
* configure:  Regenerate.
2003-10-20 21:53:45 +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
Daniel Jacobowitz eedd1e14ab * configure.in: Pass a computed --program-transform-name
to subconfigures.
	* configure: Regenerated.
2003-09-21 19:31:18 +00:00
Daniel Jacobowitz 1de0716442 * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
quoting.
	* configure: Regenerated.
2003-09-17 20:03:04 +00:00
DJ Delorie 3833944e68 * configure: Regenerate. 2003-09-04 22:53:35 +00:00
DJ Delorie 8a315f6a89 * configure.in: Ensure arguments to sed are properly spaced.
* configure: Regenerate.
2003-09-02 23:21:43 +00:00
Daniel Jacobowitz cc9f0cf0af * configure.in: Set RAW_CXX_FOR_TARGET if unset.
* configure: Regenerated.
2003-08-27 21:17:54 +00:00
Nathanael Nerode 78bcc6ada4 Merge bugfix from GCC:
2003-08-23  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Use newline instead of semicolon when assuming
	shell arguments in a for loop.
	* configure:  Regenerated.
2003-08-27 03:05:51 +00:00
Geoffrey Keating c5a12ca3b9 Index: ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.

Index: gcc/ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.
2003-08-22 17:05:58 +00:00
Geoffrey Keating d41ac477ee Merge configure.in, configure with GCC. 2003-08-21 02:21:21 +00:00
Geoffrey Keating 4b649dd933 * configure.in: Disable libgcj for darwin not on powerpc.
* configure: Rebuild.
2003-08-20 00:51:25 +00:00
Andrew Cagney e48c382f84 2003-08-01 Andrew Cagney <cagney@redhat.com>
* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
	* configure: Ditto.
2003-08-01 21:35:02 +00:00
DJ Delorie a16d51edf6 * configure.in: Enable libgcj for darwin.
* configure: Rebuild.
2003-07-30 20:12:58 +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
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
Alexandre Oliva 24431cf0ec * configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.
2003-07-10 05:04:25 +00:00
Bob Wilson b30e072171 * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
* configure: Regenerate.
2003-07-10 05:00:47 +00:00
Nathanael Nerode 8a7cd7e5f9 * configure.in: Clean up config-lang.in handling. Delete
useless assignment to "subdirs".
	* configure: Regenerate.
2003-06-27 17:34:33 +00:00