diff -r -u g77-0.5.14-old/README.g77 g77-0.5.14/README.g77 --- g77-0.5.14-old/README.g77 Fri Apr 28 11:33:42 1995 +++ g77-0.5.14/README.g77 Sun Apr 30 19:01:22 1995 @@ -51,7 +51,7 @@ gcc/README.g77 This file gcc/f/ GNU Fortran front end gcc/f/gbe/ Patches required for gcc back end versions - gcc/f/runtime/ libf2c configuration and f2c.h file generation + gcc/f/runtime/ libg77 configuration and f2c.h file generation gcc/f/runtime/libF77/ Non-I/O portion of libf2c gcc/f/runtime/libI77/ I/O portion of libf2c diff -r -u g77-0.5.14-old/f/Make-lang.in g77-0.5.14/f/Make-lang.in --- g77-0.5.14-old/f/Make-lang.in Fri Apr 28 11:42:31 1995 +++ g77-0.5.14/f/Make-lang.in Sun Apr 30 19:03:14 1995 @@ -272,24 +272,24 @@ # Install the F77 run time library. install-libf77: f77-runtime # Check for the presence of other versions of the library and includes. -# Test libf2c.* in case of a shared version, for instance. - @if test "`echo $(libdir)/libf2c.*`" != "$(libdir)/libf2c.*" && \ +# Test libg77.* in case of a shared version, for instance. + @if test "`echo $(libdir)/libg77.*`" != "$(libdir)/libg77.*" && \ test -z "$(F2CLIBOK)" ; then \ echo ; \ - echo 'You already have a version of libf2c installed as' $(libdir)/libf2c.*; \ + echo 'You already have a version of libg77 installed as' $(libdir)/libg77.*; \ echo 'To use g77 this must be consistent with the one that will be built.'; \ - echo 'You should probably delete it and/or install ./libf2c.a in its place.'; \ + echo 'You should probably delete it and/or install ./libg77.a in its place.'; \ echo 'Resume the "make install" after removing the existing library or'; \ echo 'define the make variable F2CLIBOK to avoid this test.'; \ echo 'Check also for' $(includedir)/f2c.h 'per INSTALL instructions.'; \ echo '(Note that a quick and easy way to resume "make -k install" is to'; \ echo 'use "make install-libf77".)'; \ exit 1; else true; fi - if [ -f libf2c.a ] ; then \ - $(INSTALL_DATA) libf2c.a $(libsubdir)/libf2c.a; \ + if [ -f libg77.a ] ; then \ + $(INSTALL_DATA) libg77.a $(libsubdir)/libg77.a; \ if $(RANLIB_TEST) ; then \ - (cd $(libsubdir); $(RANLIB) libf2c.a); else true; fi; \ - chmod a-x $(libsubdir)/libf2c.a; \ + (cd $(libsubdir); $(RANLIB) libg77.a); else true; fi; \ + chmod a-x $(libsubdir)/libg77.a; \ else true; fi if [ -f include/f2c.h ] ; then \ $(INSTALL_DATA) include/f2c.h $(libsubdir)/include/f2c.h; \ @@ -325,7 +325,7 @@ -rm -rf $(bindir)/$(G77_INSTALL_NAME) -rm -rf $(bindir)/$(G77_CROSS_NAME) -rm -rf $(mandir)/g77$(manext) - -rm -rf $(libsubdir)/libf2c.a + -rm -rf $(libsubdir)/libg77.a # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. diff -r -u g77-0.5.14-old/f/com.c g77-0.5.14/f/com.c --- g77-0.5.14-old/f/com.c Fri Apr 28 11:26:10 1995 +++ g77-0.5.14/f/com.c Sun Apr 30 19:07:15 1995 @@ -4124,7 +4124,7 @@ // -- translated by f2c (version 19950223). You must link the resulting object file with the libraries: - -lf2c -lm (in that order) + -lg77 -lm (in that order) // @@ -9901,7 +9901,7 @@ integer type is FLOAT_TYPE_SIZE bits wide. This change, from LONG_TYPE_SIZE, for TYLONG and TYLOGICAL, was necessary to accommodate machines like the Alpha. Note that this suggests - f2c and libf2c are missing a distinction perhaps needed on + f2c and libg77 are missing a distinction perhaps needed on some machines between "int" and "long int". -- burley 0.5.5 950215 */ ffecom_f2c_set_lio_code_ (FFEINFO_basictypeINTEGER, FLOAT_TYPE_SIZE, diff -r -u g77-0.5.14-old/f/com.h g77-0.5.14/f/com.h --- g77-0.5.14-old/f/com.h Fri Apr 28 11:26:10 1995 +++ g77-0.5.14/f/com.h Sun Apr 30 19:02:15 1995 @@ -79,7 +79,7 @@ #if FFECOM_DETERMINE_TYPES /* only for com.c and configure */ /* Begin f2c.h information. This must match the info in the f2c.h used - to build the libf2c with which g77-generated code is linked, or there + to build the libg77 with which g77-generated code is linked, or there will probably be bugs, some of them difficult to detect or even trigger. */ #include "config.j" diff -r -u g77-0.5.14-old/f/config-lang.in g77-0.5.14/f/config-lang.in --- g77-0.5.14-old/f/config-lang.in Thu Feb 16 01:17:13 1995 +++ g77-0.5.14/f/config-lang.in Sun Apr 30 19:03:37 1995 @@ -32,10 +32,10 @@ case "$arguments" in # *--enable-f2c* | *-enable-f2c*) # echo "f77: enabling f2c." -# stagestuff="g77 g77-cross f771 libf2c.a f2c fc" ;; -# stagestuff="g77 g77-cross f771 libf2c.a f2c" ;; +# stagestuff="g77 g77-cross f771 libg77.a f2c fc" ;; +# stagestuff="g77 g77-cross f771 libg77.a f2c" ;; *) - stagestuff="g77 g77-cross f771 libf2c.a" ;; + stagestuff="g77 g77-cross f771 libg77.a" ;; esac diff_excludes="" diff -r -u g77-0.5.14-old/f/g77.c g77-0.5.14/f/g77.c --- g77-0.5.14-old/f/g77.c Fri Apr 28 11:26:10 1995 +++ g77-0.5.14/f/g77.c Sun Apr 30 19:06:51 1995 @@ -33,10 +33,10 @@ This shouldn't normally be necessary, but it is done in case gcc.c normally treats .f/.F files as, say, to be compiled by f2c. - 2. Make sure `-lf2c -lm' is at the end of the list. + 2. Make sure `-lg77 -lm' is at the end of the list. - 3. Make sure each time `-lf2c' or `-lm' is seen, it forms - part of the series `-lf2c -lm'. + 3. Make sure each time `-lg77' or `-lm' is seen, it forms + part of the series `-lg77 -lm'. #1 is not done if `-xfoo' is in effect (where foo is not "none"). #2 and #3 are not done if `-nostdlib' or any option that disables @@ -393,8 +393,8 @@ int verbose = 0; /* This will be NULL if we encounter a situation where we should not - link in libf2c. */ - char *library = "-lf2c"; + link in libg77. */ + char *library = "-lg77"; /* The name of the compiler we will want to run---by default, it will be the definition of `GCC_NAME', e.g., `gcc'. */ @@ -458,7 +458,7 @@ verbose = 1; if (argc == 2) /* If they only gave us `-v', don't try to link - in libf2c. */ + in libg77. */ library = NULL; } } @@ -564,7 +564,7 @@ } } - /* Add -lf2c -lm as necessary. */ + /* Add -lg77 -lm as necessary. */ if (library) { /* Doing a link and no -nostdlib. */ diff -r -u g77-0.5.14-old/f/runtime/configure.in g77-0.5.14/f/runtime/configure.in --- g77-0.5.14-old/f/runtime/configure.in Fri Apr 28 11:26:12 1995 +++ g77-0.5.14/f/runtime/configure.in Sun Apr 30 19:04:42 1995 @@ -231,13 +231,13 @@ AC_SUBST(RANLIB_FOR_TARGET) AC_SUBST(RANLIB_TEST_FOR_TARGET) -dnl Craig had these in f2c.h, but they're only relevant for building libf2c +dnl Craig had these in f2c.h, but they're only relevant for building libg77 dnl anyway. dnl For GNU Fortran (g77), we always enable the following behaviors for -dnl libf2c, to make things easy on the programmer. The alternate +dnl libg77, to make things easy on the programmer. The alternate dnl behaviors have their uses, and g77 might provide them as compiler, -dnl rather than library, options, so only a single copy of a shared libf2c +dnl rather than library, options, so only a single copy of a shared libg77 dnl need be built for a system. dnl This makes unformatted I/O more consistent in relation to other diff -r -u g77-0.5.14-old/f/runtime/libF77/Makefile.in g77-0.5.14/f/runtime/libF77/Makefile.in --- g77-0.5.14-old/f/runtime/libF77/Makefile.in Thu Feb 16 01:13:38 1995 +++ g77-0.5.14/f/runtime/libF77/Makefile.in Sun Apr 30 19:05:17 1995 @@ -72,7 +72,7 @@ EFL = ef1asc_.o ef1cmc_.o CHAR = s_cat.o s_cmp.o s_copy.o -lib = ../../../libf2c.a +lib = ../../../libg77.a F2C_H = ../../include/f2c.h diff -r -u g77-0.5.14-old/f/runtime/libI77/Makefile.in g77-0.5.14/f/runtime/libI77/Makefile.in --- g77-0.5.14-old/f/runtime/libI77/Makefile.in Thu Feb 16 01:14:07 1995 +++ g77-0.5.14/f/runtime/libI77/Makefile.in Sun Apr 30 19:05:49 1995 @@ -56,7 +56,7 @@ rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \ util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o -lib = ../../../libf2c.a +lib = ../../../libg77.a F2C_H = ../../include/f2c.h diff -r -u g77-0.5.14-old/f/ste.c g77-0.5.14/f/ste.c --- g77-0.5.14-old/f/ste.c Fri Apr 28 11:26:13 1995 +++ g77-0.5.14/f/ste.c Sun Apr 30 19:04:03 1995 @@ -32,9 +32,9 @@ and ffecom_pop_calltemps () as are some other cases. That is the case when the transformation might involve generation of a temporary that must be auto-popped, the specific case being - when a COMPLEX operation requiring a call to libf2c being + when a COMPLEX operation requiring a call to libg77 being generated, whereby a temp is needed to hold the result since - libf2c doesn't return COMPLEX results directly. Cases where it + libg77 doesn't return COMPLEX results directly. Cases where it is known that ffecom_expr () won't need to do this, such as the CALL statement (where it's the transformation of the call expr itself that does the wrapping), don't need to bother