Descriptions of the Current Directory

GNU Fortran 77 Support

Japanese Page is here.

[0] News

[1] Files

This directory has the same structure as that of /usr/src/redhat after building the gcc with fortran support. The gcc part was extracted from gcc-2.7.2.1-2O retrieved from ftp.linuxppc.org. The fortran part is g77-0.5.19 which is the latest version that is compatible with the gcc-2.7.2.1-2O.

RPMS/ppc/*.ppc.rpm : binary packages
SOURCES/* : source files and patches
SPECS/*.spec : package building specs
SRPMS/*.src.rpm : source package
README.html : this file
g77-info.tar.gz : info and man files (obsolete for 1C or later)

[2] Precaution: This is NOT for WIMPs

You have to be brave enough to install this package, since it is going to overwrite your existing gcc compilers and might destroy your compiling environment! Presumably, the C, C++, and obj-C parts of the package must practically be identical to the ones coming with the DR2.1update4 shared library support, but nevertheless I cannot guarantee the consequence of the installation. As always, install the package at your own risk! Be aware also of the fact that "f2c" with g77-0.5.19 is older than the one I separately built:

f2c-19970709-1A.ppc.rpm
f2c-libs-19970709-1A.ppc.rpm

and thus the library libf2c.*'s are very likely to be incompatible. Do not mix them up in linking!

[3] Installation Instructions for Wip971224 or Earlier

Before installing the package it is a good idea to keep

gcc-2.7.2.1-2L.ppc.rpm
gcc-c++-2.7.2.1-2L.ppc.rpm
gcc-objc-2.7.2.1-2L.ppc.rpm

that come with the DR2.1update4 shared library support, so that you can go back to the standard environment anytime you want.

Now make up your mind and do:

$ ls
gcc-2.7.2.fu.1-1C.ppc.rpm
gcc-c++-2.7.2.fu.1-1C.ppc.rpm
gcc-g77-2.7.2.fu.1-1C.ppc.rpm
gcc-objc-2.7.2.fu.1-1C.ppc.rpm
$ rpm -qpl gcc*

If you are satisfied with the contents of the package: proceed to

$ su
# rpm -U gcc*

Now you are ready to try them. Good luck!

[4] Installation Instructions for Wip980112 or Later

Before installing the package, make sure that you have "binutils" and "glibc" updated. See the update note for system updating instructions. It is also a good idea to keep

gcc-2.7.2.1-2O.ppc.rpm
gcc-c++-2.7.2.1-2O.ppc.rpm
gcc-objc-2.7.2.1-2O.ppc.rpm

that correspond to a system upgraded to wip980112 or later with shared library support, so that you can go back to the standard environment anytime you want.

Now make up your mind and do:

$ ls
gcc-2.7.2.fu.1-2O.ppc.rpm
gcc-c++-2.7.2.fu.1-2O.ppc.rpm
gcc-g77-2.7.2.fu.1-2O.ppc.rpm
gcc-objc-2.7.2.fu.1-2O.ppc.rpm
$ rpm -qpl gcc*

If you are satisfied with the contents of the package: proceed to

$ su
# rpm -U gcc*

Now you are ready to try them. Good luck!

[5] Further Information

I have summarized my experience with g77 on MkLinux here which might be of some help.
Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Aug 2, 1997