RPM-Package of the G95 Fortran 95 Compiler (Version 0.91, March 2008) for RPM-based Linux distributions.
To avoid interferences with a already installed Gfortran compiler, the G95 directory-tree will be installed in /opt:
/opt/g95 /opt/g95/bin /opt/g95/include /opt/g95/lib
The executable symbolic link “g95″ is stored in /usr/local/bin and can be invoked from everywhere.
Libraries (lib*.a) compiled with and for G95 should be copied to /opt/g95/lib and modules (*.mod) to /opt/g95/include. To compile and link Fortran programs see the following example:
$> g95 -I/opt/g95/include -L/opt/g95/lib lmylib -o myprogram myprogram.f90