From 18023d5b9674bc03988c0de5a7d1ca7dcedb4fcc Mon Sep 17 00:00:00 2001 From: wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 21 Aug 1997 20:17:25 +0000 Subject: [PATCH] Eliminate circular dependence on f77-runtime that caused build failures. * Make-lang.in (f77): Delete f77-runtime. (f77.all.build, f77.all.cross, f77.rest.encap): Add f77-runtime. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14873 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/f/ChangeLog.egcs | 5 +++++ gcc/f/Make-lang.in | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs index 1a5cf54d4dba..f61a0b0e43a5 100644 --- a/gcc/f/ChangeLog.egcs +++ b/gcc/f/ChangeLog.egcs @@ -1,3 +1,8 @@ +Thu Aug 21 13:15:29 1997 Jim Wilson <wilson@cygnus.com> + + * Make-lang.in (f77): Delete f77-runtime. + (f77.all.build, f77.all.cross, f77.rest.encap): Add f77-runtime. + Wed Aug 20 16:36:59 1997 Jim Wilson <wilson@cygnus.com> * intdoc.texi: Readd generated file. diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in index 666b51111445..f8fda355449e 100644 --- a/gcc/f/Make-lang.in +++ b/gcc/f/Make-lang.in @@ -96,7 +96,7 @@ G77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo g77 | sed $$t` # Note that it would be nice to move the dependency on g77 # into the F77 rule, but that needs a little bit of work # to do the right thing within all.cross. -F77 f77: f771 f77-runtime +F77 f77: f771 # Tell GNU make to ignore these if they exist. .PHONY: F77 f77 f77-runtime f77-runtime-unsafe f77.all.build f77.all.cross \ @@ -309,10 +309,13 @@ f/runtime/libU77/Makefile: \ # I'm not sure there's a way of getting f2c into here conditionally on # the --enable-f2c flag detected by config-lang.in so kluge it with the # maybe-f2c target by looking at STAGESTUFF. -f77.all.build: g77 maybe-f2c -f77.all.cross: g77-cross maybe-f2c +# We need to build the runtime after libgcc.a, so as to avoid a circular +# dependence on cplib2.ready. So instead of putting it in LANGUAGES (via +# the f77 rule), it goes at the end of each all.* build rule. +f77.all.build: g77 maybe-f2c f77-runtime +f77.all.cross: g77-cross maybe-f2c f77-runtime f77.start.encap: g77 maybe-f2c -f77.rest.encap: +f77.rest.encap: f77-runtime f77.info: $(srcdir)/f/g77.info f77.dvi: $(srcdir)/f/g77.dvi -- GitLab