[Top][All Lists]

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

Re: link and run a (fortran) program redirecting its stdout/stderr

From: Ralf Wildenhues
Subject: Re: link and run a (fortran) program redirecting its stdout/stderr
Date: Sat, 31 Oct 2009 19:41:24 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

* Paolo Bonzini wrote on Fri, Oct 30, 2009 at 08:36:34PM CET:
> On 10/30/2009 01:00 PM, Eric Blake wrote:
> >According to Ralf Wildenhues on 10/30/2009 12:31 AM:
> >>Should we also document that the ACTION-IF-TRUE part of
> >>AC_LINK_IFELSE allows linked programs to be inspected (not necessarily
> >>run) and that of AC_COMPILE_IFELSE allows compiled objects to be
> >>inspected?
> >
> >Hmm, those aren't done as often (about all you can do is run nm on it;
> >that seems like something libtool might want to do, but who else does it
> >to be worth documenting it?).
> For AC_LINK_IFELSE you could run the program if not cross-compiling.

That also assumes that the runtime linker can find all libraries the
link editor used.  We shouldn't pretend that Autoconf takes care of

> That seems better than the AC_TRY_RUN(ac_link) that is usually done.

True; that should be fixed in Libtool at least.


reply via email to

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