[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to create tests for FC?
From: |
Ralf Wildenhues |
Subject: |
Re: How to create tests for FC? |
Date: |
Fri, 10 Jun 2005 09:36:52 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Steven,
* Steven G. Johnson wrote on Tue, Jun 07, 2005 at 11:01:49PM CEST:
>
> I don't think you have any choice here. For the Intel compiler, the -Tf
> flag has to come immediately before the source file. So, you have to
> modify your behavior, at least for Fortran.
>
> I would suggest that you let autoconf decide what is the right place to
> put compiler flags, rather than munging ac_compile. libtool is not the
> right place for this sort of knowledge.
Libtool surely has some rather old cruft which eventually needs to be
cleaned up. But this code has been in there for years -- I hate to
break things that seem to work and potentially affect every system.
> I think the most reasonable course, for now, is to assume that a given
> compiler name $FC always uses the same libs; if we find a specific case
> where this fails we can find a workaround, but it is impractical to
> work around completely hypothetical failures, especially since it's not
> clear what the solution should be.
>
> (Differences between $FLIBS and $FCLIBS probably stem from $FC being
> different from $F77.)
OK. Let's go with that assumption.
*snip more useful comments*
Thanks for your reply. I have posted a first version of my proposed
patch at
<http://lists.gnu.org/archive/html/libtool-patches/2005-06/msg00068.html>.
Regards,
Ralf