gfortran compiler option question?
- From: john.chludzinski@xxxxxxxxx
- Date: Mon, 20 Aug 2012 04:56:55 -0700 (PDT)
Instead of prefixing every file with .f or .f95 or .f03 etc., I'd like to use a compiler option to tell gfortran which version/standard the code is. I'd like simply to have *.f files (*** I'm a FORTRAN newbie, so maybe I'm going against good practice? ***).
I tried: --std=f95 on a *.f file with FORTRAN 95 code but still got a train-load of errors.