gcc/config
Paolo Bonzini 215c351a82 re PR bootstrap/17383 (Building in src dir fails)
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* Makefile.def (target_modules): Remove "stage", now unnecessary.
	* Makefile.tpl (HOST_SUBDIR): New substitution.
	(STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET,
	USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET,
	USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET,
	USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it.
	(Host modules, Bootstrapped modules): Use it.
	(Build modules, Target modules): Do not create symlink trees,
	always configure out-of-srcdir.
	(distclean): Try removing $(host_subdir) with rm before using rm -rf.
	* configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET,
	GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use
	$(HOST_SUBDIR).  Create a symlink for host_subdir.

	* Makefile.in: Regenerate.
	* configure: Regenerate.

config:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
	gcc build is going.

gcc:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* gcc/Makefile.in (host_subdir): New.
	(build_objdir): New.  Replace ../$(build_subdir) with it throughout.
	* gcc/configure: Regenerate.

libada:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.

libjava:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* configure.ac: Call GCC_TOPLEV_SUBDIRS.
	(COMPPATH): Removed.
	(ZIP, GCJH): Replace it with ../$(host_subdir).
	(built_gcc_dir): Add $(host_subdir).
	* configure: Regenerate.
	* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
	gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
	external/w3c_dom/Makefile.in: Regenerate.

libobjc:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* configure.ac: Call GCC_TOPLEV_SUBDIRS.
	(Determine CFLAGS for gthread): Use $host_subdir.
	* configure: Regenerate.
	* Makefile.in (host_subdir): New.
	(INCLUDES): Use it.

From-SVN: r95680
2005-02-28 13:26:36 +00:00
..
accross.m4
acinclude.m4
acx.m4 re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
ChangeLog re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
codeset.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
gcc-lib-path.m4 re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07:00
gcc-version.m4 Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
gettext-sister.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
gettext.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
glibc21.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
gxx-include-dir.m4 Introduce config/gxx-include-dir.m4. 2004-12-03 10:44:37 +00:00
iconv.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
intdiv0.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
inttypes_h.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
inttypes-pri.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
inttypes.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
lcmessage.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
lib-ld.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
lib-link.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
lib-prefix.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
mh-armpic
mh-cxux
mh-cygwin
mh-decstation
mh-dgux386
mh-djgpp
mh-elfalphapic
mh-i370pic
mh-ia64pic
mh-interix
mh-lynxrs6k
mh-m68kpic
mh-mingw32
mh-ncr3000
mh-necv4
mh-papic
mh-ppc-darwin
mh-ppcpic
mh-s390pic
mh-sco
mh-solaris
mh-sparcpic
mh-sysv4
mh-sysv5
mh-x86omitfp
mh-x86pic
mt-alphaieee
mt-d30v
mt-gnu
mt-netware
mt-ospace
mt-v810
mt-wince
nls.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
no-executables.m4
po.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
progtest.m4
stdint_h.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
uintmax_t.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
ulonglong.m4 gettext-sister.m4: Renamed from gettext.m4 2004-09-22 23:53:59 +00:00
warnings.m4 re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) 2005-01-23 19:22:01 +00:00