This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to correct makefile dependencies
- To: lucier at math dot purdue dot edu
- Subject: Re: Patch to correct makefile dependencies
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 17 Oct 1999 11:04:47 -0700
- Cc: gcc-patches at gcc dot gnu dot org, hosking at cs dot purdue dot edu
- Organization: CodeSourcery, LLC
- References: <199910131836.NAA00287@polya.math.purdue.edu>
>>>>> "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