Go to the first, previous, next, last section, table of contents.


Installation of Binaries

After configuring, building, and testing g77 and gcc, when you are ready to install them on your system, type:

make -k CC=gcc install

As described in section `Installing GNU CC' in Using and Porting GNU CC, the values for the `CC' and `LANGUAGES' macros should be the same as those you supplied for the build itself.

So, the details of the above command might vary if you used a bootstrap build (where you might be able to omit both definitions, or might have to supply the same definitions you used when building the final stage) or if you deviated from the instructions for a straight build.

If the above command does not install `libg2c.a' as expected, try this:

make -k ... install install-libf77

We don't know why some non-GNU versions of make sometimes require this alternate command, but they do. (Remember to supply the appropriate definition for `CC' where you see `...' in the above command.)

Note that using the `-k' option tells make to continue after some installation problems, like not having makeinfo installed on your system. It might not be necessary for your system.

Note: g77 no longer installs files not directly part of g77, such as `/usr/bin/f77', `/usr/lib/libf2c.a', and `/usr/include/f2c.h', or their `/usr/local' equivalents.

See section Distributing Binaries, for information on how to accommodate systems with no existing non-g77 f77 compiler and systems with f2c installed.


Go to the first, previous, next, last section, table of contents.