bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .F fix to automake.in


From: Christian Holm Christensen
Subject: Re: .F fix to automake.in
Date: Mon, 21 May 2001 15:40:51 +0200

On 21 May 2001 14:46:38 +0200
Akim Demaille <address@hidden> wrote
concerning ": Re: .F fix to automake.in":
> Excellent.  Gary will probably want to apply your original patch to
> the 1.4p branch.

Ok. Fine by me.  

> Christian> When will you release 1.5?
> 
> Some time in 2001 :)  It's in feature freeze.

Great. 
 
> Christian> Will it be in time for Debian GNU/Linux 2.3 (my GNU/Linux
> Christian> dist of choice), and other GNU/Linux distributions next
> Christian> release?
> 
> When is it scheduled?

Debian will start to freeze thier dist in June [From Debian Weekly News]:  

  According to this, the freeze will start in June.

See also 

  http://lists.debian.org/debian-news-01/msg00017.html

The Debian maintainer of Automake is Kevin <address@hidden>.  You
should contact him if you want a newer Automake in Debian.  

> Christian> Uh, one thing you may want to consider: G77 can be told to
> Christian> expand is "include" (not #include) search paths via the -I
> Christian> option.  So couldn't the compilation of Fortran77 files
> Christian> ending in .f (i.e., not preprocessed code) also use the
> Christian> INCLUDES variable?  I have loads of examples of source
> Christian> files in src including headers from ../include, and I
> Christian> really don't like to do
> 
> Christian>   FFLAGS += $(INCLUDES)
> 
> Is it portable to non GNU Fortran compilers?  Is `include' standard?
> If you answered at least once `no', then it's probably out of the
> scope of the GNU build system.  But I'm no definitive reference.

What I meant was, that at least G77 will use directories passed via
the -I option as additional search paths for Fortran "include"
directives, like 

  C
  C
  C
        PROGRAM BAR 

        include 'foo.inc' 

        ...

At least is says so in the documentation.  I tried also for Digital
Unix's f77, and it seems to work as well.  That is, with a source file
like the above, I did 

  f77 -I../include bar.f -c -o bar.o 

where foo.inc is in ../include.  A similar test on Solaris using f90
and f77 also succeded.  However, I do not know if it works for all 
Fortran77 compilers.  

Yours, 

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]