This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make install-strip



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]