diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs
index 1a5cf54d4dba944cc1b08cea68e697057138d4f6..f61a0b0e43a58b20e91e4e8fc5a884e5fba9e529 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 666b511114458a45a614901810585b8f992ae150..f8fda355449e5db135567d89d6c605483793eb3d 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