g77 (Fortran)

The GNU Fortran compiler is called g77. We also have the Sun Fortran compiler f77. To compile and link a program called runge.f with all the default options, use the command
 
  g77 runge.f -o runge
If there are coding errors, you will see a list of error messages and an indication of the source code line number where the error occurred..

To compile and link with the LAPACK library, use

  g77 runge.f -o runge -llapack