g77 options via Linux compatible with Windows based Compaq Visual Fortran(90) compiler

Paul Brook paul@codesourcery.com
Thu Jun 30 03:23:00 GMT 2005


> In Linux, I am attempting to compile this same program using the
> following g77 command and options:
>
> g77 -ff90 -ffree-form -fcase-preserve apm_mod.for

g77 does not support fortran 90. It only recognises a very small subset of f90 
features. For fortran 90 code you need to use the new Fortran 95 forntent 
(gfortran) included with gcc4

Paul



More information about the Fortran mailing list