[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fortran name-mangling scheme fails on HP-UX 11.11
From: |
Denis Barbier |
Subject: |
Re: Fortran name-mangling scheme fails on HP-UX 11.11 |
Date: |
Thu, 28 Jun 2001 23:37:35 +0200 |
User-agent: |
Mutt/1.2.5i |
On Thu, Jun 28, 2001 at 04:45:54PM -0400, Steven G. Johnson wrote:
> On Thu, 28 Jun 2001, Denis Barbier wrote:
> > But there is no reason for AC_F77_WRAPPERS to require
> > AC_F77_LIBRARY_LDFLAGS; in _AC_F77_NAME_MANGLING one may simply (well,
> > i have no idea whether this is simple or not) link against Fortran
> > compiler to suppress this dependency and have a safer AC_F77_WRAPPERS
> > macro. Or did i miss something obvious?
>
> Well, then you have the opposite problem: figuring out whether there are
> any special flags or libraries that you need to pass to the Fortran
> linker in order to link to C programs. (Generally, the answer seems to be
> no, but can we count on that always being true?)
I have no strong opinion on this, but when writing a simple program
mixing C and Fortran 77 with Automake, it appears that this assertion
has already been made.
IMHO this change makes sense because this is how Automake does handle
C/F77 mixing.
Denis