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: Federico Carminati
Subject: Re: subdir-objects with FORTRAN and location of objects
Date: Wed, 5 Oct 2005 16:17:57 +0200

Hello,
thanks for the answers. gcc fortran compilers support -o -c, however without the AM_PROG_F*_C_O the .o files are produced in the build directory and not in the subdirectory. AC_PROG_F*_C_O is not enough to guarantee this. I am using libtool 1.5.8 on Darwin 8.2.0 powerpc. Best regards

Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843

On 5 Oct 2005, at 15:50, Stepan Kasal wrote:

Hello,

On Wed, Oct 05, 2005 at 03:42:32PM +0200, Ralf Wildenhues wrote:

* Stepan Kasal wrote on Wed, Oct 05, 2005 at 11:37:56AM CEST:

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.


OK, so it seems that the macros


 -- Macro: AC_PROG_F77_C_O
 -- Macro: AC_PROG_FC_C_O


should stay in Autoconf, but the doc might say that these days it is safe
to suppose that -c -o just works.

And there is no need why Automake could think about the issue.
There is no need for any AM_* counterpart for these macros.

Thanks for your information,
    Stepan Kasal






reply via email to

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