help-gnu-utils
[Top][All Lists]
Advanced

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

Re: autotools, preprocessors, and fortran 90


From: Ralf Wildenhues
Subject: Re: autotools, preprocessors, and fortran 90
Date: Tue, 12 Dec 2006 13:46:27 +0100
User-agent: Mutt/1.5.13 (2006-11-01)

* John wrote on Tue, Dec 12, 2006 at 01:02:32PM CET:
> 
> Is there some way to avoid having to use the capital F's?

Not easily, without changes to Automake.

> Ralf Wildenhues wrote:
> > With respect to portability among compilers, this example is lacking the
> > flag for source file extensions, AC_FC_SRCEXT([F95]).  I omitted it
> > because Automake does not automatically add support for it yet
> > (for .f90 and .f95, that has been added in Automake 1.10).  If you need
> > this, write me, and I'll post an updated example.
> 
> I use the f90 extension regardless of whether the file is f90 or f95, so
> I don't think I need to add this support.

The issue is a bit different.  If you intend your project to be portable
to non-GNU compilers, then you may need this.  For example for some AIX 
compiler drivers (e.g., xlf95 for compiling a file named *.F90), and I
think maybe for Intel ifort as well.

Automake-1.10 support in those cases is incomplete: you will have to
override the inference rules in that case.  I intend to fix this soon.

Cheers,
Ralf




reply via email to

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