This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13261] [gfortran] command line flag needed to use gfortran for compiling F77 code
- From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2003 00:06:53 -0000
- Subject: [Bug fortran/13261] [gfortran] command line flag needed to use gfortran for compiling F77 code
- References: <20031201163518.13261.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From toon at moene dot indiv dot nluug dot nl 2003-12-02 00:06 -------
Subject: Re: New: [gfortran] command line flag needed
to use gfortran for compiling F77 code
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,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13261