aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-08-21 20:17:25 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-08-21 13:17:25 -0700
commit7d11fb7f0c5ea23caf29584325f3517f065bc4db (patch)
tree82080e9a4e15f380260c145035a80efcce5610e1 /gcc
parentca363bb6c107c4d8e2011f35976f1bcc9266f720 (diff)
downloadgcc-7d11fb7f0c5ea23caf29584325f3517f065bc4db.zip
gcc-7d11fb7f0c5ea23caf29584325f3517f065bc4db.tar.gz
gcc-7d11fb7f0c5ea23caf29584325f3517f065bc4db.tar.bz2
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. From-SVN: r14873
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog.egcs5
-rw-r--r--gcc/f/Make-lang.in11
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs
index 1a5cf54..f61a0b0 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 666b511..f8fda35 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