This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Updates on some old patches for parallel build.


These are updates of some old patches:

http://egcs.cygnus.com/ml/gcc/1999-10/msg00700.html
http://egcs.cygnus.com/ml/gcc-patches/1999-10/msg00751.html

You can follow those threads to see what they are supposed to do.
Basically, you cannot build CXX_LIB2FUNCS before cc1plus$(exeext) is
built. Also we don't need to build LANG_LIB2FUNCS for stage1 since
only the C compiler is built for stage1.

Thanks.


H.J.
2000-05-17  H.J. Lu  <hjl@gnu.org>

	* Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.

--- gcc/Makefile.in.orig	Wed May 17 14:52:07 2000
+++ gcc/Makefile.in	Wed May 17 14:54:08 2000
@@ -2758,7 +2758,7 @@ bootstrap bootstrap-lean bootstrap-ultra
 # Only build the C compiler for stage1, because that is the only one that
 # we can guarantee will build with the native compiler, and also it is the
 # only thing useful for building stage2.
-	$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)"
+	$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" LANG_LIB2FUNCS=
 	$(MAKE) stage1
 	-if test $@ = bootstrap-lean; then cd stage1 ; rm -f $(VOL_FILES); else true; fi
 # This used to define ALLOCA as empty, but that would lead to bad results
2000-05-17  H.J. Lu  <hjl@gnu.org>

	* Make-lang.in (cplib2.ready): Also depend on cc1plus$(exeext).

Index: gcc/cp/Make-lang.in
===================================================================
RCS file: /work/cvs/gnu/egcs/gcc/cp/Make-lang.in,v
retrieving revision 1.1.1.22
diff -u -p -r1.1.1.22 Make-lang.in
--- gcc/cp/Make-lang.in	2000/05/12 17:51:57	1.1.1.22
+++ gcc/cp/Make-lang.in	2000/05/17 21:55:56
@@ -191,7 +191,7 @@ cplib2.txt: $(CXX_LIB2SRCS) $(CXX_EXTRA_
 # Don't try to do write if `.' is not writable;
 # in that case, we're installing from someone else's directory.
 # But go ahead and fail if that directory hasn't been properly built.
-cplib2.ready: $(GCC_PASSES) stmp-int-hdrs $(STMP_FIXPROTO)
+cplib2.ready: $(GCC_PASSES) stmp-int-hdrs $(STMP_FIXPROTO) cc1plus$(exeext)
 	@if [ -r cplib2.txt -a -w . ]; then \
 	  case " $(LANGUAGES) " in \
 	  *" "[cC]"++ "*) \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]