Install fixincludes before gcc

Geoffrey Keating gkeating@apple.com
Fri Nov 12 19:43:00 GMT 2004


No-one but me has noticed this, because make will usually do the
installs in this order anyway, but under rare circumstances make will
try to start both simultaneously and that can lead to GCC's install
trying to use a directory that doesn't exist yet.

Tested with 'make install -j2' on powerpc-darwin.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-fixinccross-installdeps.patch=========
2004-11-11  Geoffrey Keating  <geoffk@apple.com>

	* Makefile.def: Make gcc install depend on fixincludes install.
	* Makefile.in: Regenerate.

Index: Makefile.def
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.def,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 Makefile.def
--- Makefile.def	5 Nov 2004 16:35:40 -0000	1.39
+++ Makefile.def	12 Nov 2004 19:08:02 -0000
@@ -261,6 +261,7 @@ dependencies = { module=all-gcc; on=all-
 dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
 dependencies = { module=all-gcc; on=all-libiberty; };
 dependencies = { module=all-gcc; on=all-fixincludes; };
+dependencies = { module=install-gcc ; on=install-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
 dependencies = { module=configure-libcpp; on=configure-intl; };
============================================================



More information about the Gcc-patches mailing list