After configuring, building, and testing g77
and gcc
,
when you are ready to install them on your system, type:
make -k CC=gcc LANGUAGES=f77 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 `libf2c.a' as expected, try this:
make -k ... install install-libf77 install-f2c-all
We don't know why some non-GNU versions of make
sometimes
require this alternate command, but they do.
(Remember to supply the appropriate definitions for `CC' and
`LANGUAGES' 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.
Go to the first, previous, next, last section, table of contents.