This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .f03 file extension in gfortran


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]