m4-patches
[Top][All Lists]
Advanced

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

Re: FYI: 1-gvv-testsuite-m4-wrapper.patch


From: Gary V. Vaughan
Subject: Re: FYI: 1-gvv-testsuite-m4-wrapper.patch
Date: Mon, 3 Sep 2001 18:40:17 +0100
User-agent: Mutt/1.3.21i

On Mon, Sep 03, 2001 at 09:24:00AM +0200, Akim Demaille wrote:
> Hug!  I don't understand this...
> 
> Gary, could you give some hints: there was a time when this was needed
> (afaicr from my use of Libtool in a2ps): now it no longer is?  I mean,
> it is _never_ needed, whatever the configuration options? (I thinking
> about fast install etc. which I don't understand too well must I
> confess).

The libtool wrapper script is executable, and does no more that
twiddle library search paths and the like so that when it invokes the
real binary, the libraries from the build tree are loaded in
preference to any other (potentially incompatible) insatlled libraries.

> Is it related to the fact we are using modules and not non installed
> libs? 

Nope there is no need to use execute mode if you are just running the
binary.

On the other hand if you need to pass the binary (with paths correctly
twiddled) to another program (say gdb or ldd), then the invocation
would be:

  $ ./libtool --mode=execute gdb ./src/m4
  
This allows libtool to execute the shell magic and then execute the
named program with the wrapped binary as its argument.

Cheers,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

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