automake
[Top][All Lists]
Advanced

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

Re: subdir-objects with FORTRAN and location of objects


From: Ralf Wildenhues
Subject: Re: subdir-objects with FORTRAN and location of objects
Date: Wed, 5 Oct 2005 15:42:32 +0200
User-agent: Mutt/1.5.11

[ removing libtool@ from the recipients -- this is an Automake issue ]

* Stepan Kasal wrote on Wed, Oct 05, 2005 at 11:37:56AM CEST:
> 
> On Wed, Oct 05, 2005 at 10:26:34AM +0200, Ralf Wildenhues wrote:
> > > is possible to have the option subdir-objects to work with FORTRAN?  
> 
> speaking about this, are there Fortran or F77 compilers which are not
> able to interpret -c -o?

http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00210.html
has a really old example.  I'd expect other really old compilers to also
have this limitation, but could not name one which is in common use.

> In other words, is there a possibility that the following macro might be
> useful?
> 
>  -- Macro: AC_PROG_F77_C_O
>  -- Macro: AC_PROG_FC_C_O
>      Test whether the Fortran compiler accepts the options `-c' and
>      `-o' simultaneously.

Surely they would be, but only when libtool is not in use.  It still
does its own per-language `-c -o' testing, and may always be called
with both arguments.

Cheers,
Ralf




reply via email to

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