[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: f2c obsolete?
From: |
John W. Eaton |
Subject: |
Re: f2c obsolete? |
Date: |
Wed, 24 Oct 2007 10:44:32 -0400 |
On 24-Oct-2007, Michael Goffioul wrote:
| On 10/24/07, John W. Eaton <address@hidden> wrote:
| > It looks like the fort77 script distributed as part of Debian (I'm not
| > sure where the "official" upstream source is kept) should work with
| > the following minor change.
| >
| > --- /usr/bin/fort77 2006-01-02 07:34:15.000000000 -0500
| > +++ ./fort77 2007-10-24 02:44:23.000000000 -0400
| > @@ -186,11 +186,9 @@
| >
| > if ($verbose) {
| > print STDERR "$0: fort77 Version $version\n";
| > - if ($verbose > 1) {
| > - push(@copts,"-v");
| > - push(@lopts,"-v");
| > - push(@cppopts,"-v");
| > - }
| > + push(@copts,"-v");
| > + push(@lopts,"-v");
| > + push(@cppopts,"-v");
| > }
| >
| >
| > Without this, it just prints simple "verbose" messages about what is
| > happening, and those are not sufficient for the Fortran library
| > detection macro used in autoconf.
|
| I can give it a try, but how am I suppose to use this within the configure
| script of octave: something like
|
| F77=fort77 FLIBS=-lf2c ./configure ... ?
|
| Note also that the -MD flag should be added to fortran compiler, in the
| same way it is done for CFLAGS and CXXFLAGS (se configure.in around
| line 297)
Where does it belong? It seems that it is added to CFLAGS, CXXFLAGS,
and LIBS. Is that correct? I don't know how best to insert it in
LIBS (or FLIBS) but would consider patches that would allow it to be
specified by adding XTRA_FLIBS=-MD (or similar) on the configure
command line.
jwe
- f2c obsolete?, John W. Eaton, 2007/10/23
- Re: f2c obsolete?, Michael Goffioul, 2007/10/23
- Re: f2c obsolete?, John W. Eaton, 2007/10/23
- Re: f2c obsolete?, Michael Goffioul, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, Michael Goffioul, 2007/10/24
- Re: f2c obsolete?,
John W. Eaton <=
- Re: f2c obsolete?, Michael Goffioul, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, Michael Goffioul, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, Thomas Treichl, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, Thomas Treichl, 2007/10/24
- Re: f2c obsolete?, John W. Eaton, 2007/10/24
- Re: f2c obsolete?, Thomas Treichl, 2007/10/25
- Re: f2c obsolete?, John W. Eaton, 2007/10/25