This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: make install-strip
- To: Alexandre Oliva <oliva@dcc.unicamp.br>
- Subject: Re: make install-strip
- From: Thomas Tanner <tanner@gmx.de>
- Date: Sun, 23 May 1999 12:13:15 +0200 (CEST)
- Cc: automake@gnu.org, Tom Tromey <tromey@cygnus.com>
On 23-May-99 Alexandre Oliva wrote:
>> Currently, libtool ignores the strip flag (-s) for libraries,
>> so it won't break compatibility.
> It ignores -s, but not an arbitrary strip flag.
??? automake always passes -s as strip flag and libtool
recognizes it. If one uses another strip flag it will
break libraries, regardless of whether libtool can handle
-s for libraries or not, except for the case that
install --mystripflag works for libraries
(but then libtool isn't involved at all).
>> No, it's much easier (please look at libtool's install code):
>> We could check whether GNU strip is available and, if -s is
>> passed for a library, we would strip the uninstalled library
>> using "strip --strip-unneeded" and let "install" install
>> the library as usual (without the -s flag).
> Nope. You're assuming the install program is BSD-compatible and -s
> means strip.
Nope2. Libtool does assume that and it works.
> We can't assume that, because people can use arbitrary
> install programs, with different argument conventions, and -s may have
> a completely different meaning, or, still worse, another flag may be
> used to enable strip.
They'd make their libraries unlinkable if they use another strip flag.
Thomas Tanner -----------------------------------------
email: tanner@(ffii.org|gnu.org|ggi-project.org|gmx.de)
web: http://home.pages.de/~tanner
GGI/Picasso: http://picasso.ffii.org