Re: g95 is not gfortran

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: g95 is not gfortran

Steven G. Johnson
Juha Vierinen wrote:
> There are two GNU fortran projects that use names g95 (g95.sf.net) and
> gfortran. I am using g95 right now and it seems to be more ready that
> gfortran. So any chance of including it in the list of compilers?

This seems like a good patch to me.

>>m4_define([_AC_F95_FC], [f95 fort xlf95 ifort ifc efc pgf95 lf95 g95 gfortran ftn])

Since gfortran and g95 are now (sort of) released, and autoconf
generally prefers gcc to other compilers, it's probably best to put them
at the front of the list:

        m4_define([_AC_F95_FC], [gfortran g95 f95 fort ........])

I've attached a patch which does this, updates the comments in the code,
and the ChangeLog entry is given below.  Okay to commit?

2005-06-03  Steven G. Johnson  <[hidden email]>

         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
         to gfortran, and make these the first two compiler names
         checked (following the general autoconf preference for gcc).


diff.out (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: g95 is not gfortran

Paul Eggert
"Steven G. Johnson" <[hidden email]> writes:

> I've attached a patch which does this, updates the comments in the
> code, and the ChangeLog entry is given below.  Okay to commit?

Yes; thanks.