.f03 file extension in gfortran

Tim Prince timothyprince@sbcglobal.net
Thu Oct 12 16:19:00 GMT 2006


Warren Turkal wrote:
> On Wednesday 11 October 2006 22:54, Steve Kargl wrote:
>> BTW, I forgot you should be able to do "gfortan -x f95 my_file.f03"
> 
> Don't forget:
> .F for preprocessed fixed form
> .F90/95 for preprocessed free form
> 
> Is .F03 a common way to denote an F2003 file?
No.  You might find interesting discussions in the comp.lang.fortran 
archives about this.
No compilers I know of use the file name suffix to switch a compiler 
between f77/f90/f95/f2003 options. .f90, for many compilers, is 
shorthand for free format, as first defined in f90, and never since 
changed.  Switching case of the suffix as shorthand for "run the local 
pre-processor" doesn't work in Windows or Mac systems.



More information about the Fortran mailing list