This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Irix6 bootstrap failure, intl dir depends on insn-codes.h now
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: Irix6 bootstrap failure, intl dir depends on insn-codes.h now
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Fri, 24 Nov 2000 23:14:18 +0000 (GMT)
- Cc: amylaar at redhat dot com (Joern Rennecke), ghazi at caip dot rutgers dot edu (Kaveh R. Ghazi), gcc-bugs at gcc dot gnu dot org
> > Should I make a link from the sourceware intl to egcs,
>
> That works for me.
Worked for me too. While the separate configury in the gcc directory
got me link errors.
Well, since the Makefile in the intl directory doesn't have access to
the rules in the gcc toplevel Makefile, the latter has to make sure that
all of its rules that are necessary have been applied before calling the
sub-make.
Indeed, here's another point where recursive make is harmful - instead of
having individual targets depend on a dependency, a whole group has to depend
on it.
Fri Nov 24 23:09:12 2000 J"orn Rennecke <amylaar@redhat.com>
* Makefile.in (intl.all et al): Depend on $(CONFIG_H)
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.549
diff -p -r1.549 Makefile.in
*** Makefile.in 2000/11/23 02:22:00 1.549
--- Makefile.in 2000/11/24 23:09:11
*************** $(top_builddir)/intl/libintl.a: intl.all
*** 1834,1840 ****
$(INTL_TARGETS): $(srcdir)/c-parse.c
intl.all intl.install intl.uninstall \
! intl.mostlyclean intl.clean intl.distclean intl.maintainer-clean:
@for d in $(INTL_SUBDIRS); do \
target=`expr $@ : 'intl.\(.*\)'` && \
echo "(cd $$d && $(MAKE) $$target)" && \
--- 1834,1840 ----
$(INTL_TARGETS): $(srcdir)/c-parse.c
intl.all intl.install intl.uninstall \
! intl.mostlyclean intl.clean intl.distclean intl.maintainer-clean: $(CONFIG_H)
@for d in $(INTL_SUBDIRS); do \
target=`expr $@ : 'intl.\(.*\)'` && \
echo "(cd $$d && $(MAKE) $$target)" && \