This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug fortran/13261] New: [gfortran] command line flag neededto use gfortran for compiling F77 code
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org, dann at godzilla dot ics dot uci dot edu
- Date: Tue, 02 Dec 2003 01:08:56 +0100
- Subject: Re: [Bug fortran/13261] New: [gfortran] command line flag neededto use gfortran for compiling F77 code
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20031201163518.13261.dann@godzilla.ics.uci.edu>
dann at godzilla dot ics dot uci dot edu wrote:
It seems that there is no way (or no documented way) to use
gfortran to compile .f F77 files, the default is to use g77 for that.
SPEC95 and SPEC2000 contain a lot of F77 code, the automated SPEC testers
would need such a flag to compile that code.
gfortran [options] -xf95 blah.f
will work.
You might want to add -ffixed-form.
Hope this helps,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)