If you have a recent version of gcc
already installed on your system, and if you're
reasonably certain it produces code that is
object-compatible with the version of gcc
you want to build as part of building g77,
you can save time and disk space by doing a straight
build.
To build just the C and Fortran compilers and the necessary run-time libraries, issue the following command:
make -k CC=gcc LANGUAGES=f77 all g77
(The `g77' target is necessary because the gcc
build procedures apparently do not automatically build
command drivers for languages in subdirectories.
It's the `all' target that triggers building
everything except, apparently, the g77 command
itself.)
If you run into problems using this method, you have two options:
Especially if you do the latter, you might consider submitting any solutions as bug/fix reports. See section Known Causes of Trouble with GNU Fortran.
However, understand that many problems preventing a
straight build from working are not g77 problems,
and, in such cases, are not likely to be addressed in
future versions of g77.
Go to the first, previous, next, last section, table of contents.