[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: f2c obsolete?
From: |
Michael Goffioul |
Subject: |
Re: f2c obsolete? |
Date: |
Wed, 24 Oct 2007 10:45:25 +0200 |
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)
Michael.
- 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 <=
- 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?, 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