Patch to correct makefile dependencies

Mark Mitchell mark@codesourcery.com
Sun Oct 31 23:33:00 GMT 1999


>>>>> "Brad" == Brad Lucier <lucier@math.purdue.edu> writes:

    Brad> Can somebody write a changelog entry and install this so
    Brad> make -j will work again? ggc-common.c and ggc-page.c can't
    Brad> compile until genrtl.h is available.

Thanks.

But, a) you should write the ChangeLog if you submit the patch, and
b) if the point is to have genrtl.h available, then we should depend
on that, not s-genrtl.

I installed this variant of your patch.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>

	* Makefile.in (ggc-common.o): Depend on genrtl.h.
	(ggc-simple.o): Likewise.
	(ggc-page.o): Likewise.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.325
diff -c -p -r1.325 Makefile.in
*** Makefile.in	1999/10/16 15:52:04	1.325
--- Makefile.in	1999/10/17 17:58:32
*************** dumpvers: dumpvers.c
*** 1427,1439 ****
  
  version.o: version.c
  
! ggc-common.o: ggc-common.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
  	flags.h ggc.h varray.h hash.h
  
! ggc-simple.o: ggc-simple.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
! ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
  ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) ggc.h
--- 1427,1439 ----
  
  version.o: version.c
  
! ggc-common.o: ggc-common.c $(CONFIG_H) $(RTL_H) $(TREE_H) genrtl.h \
  	flags.h ggc.h varray.h hash.h
  
! ggc-simple.o: ggc-simple.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h genrtl.h \
  	ggc.h varray.h hash.h
  
! ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h genrtl.h \
  	ggc.h varray.h hash.h
  
  ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) ggc.h



More information about the Gcc-patches mailing list