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 May 22, 1999, Thomas Tanner <tanner@gmx.de> wrote:

> Alexandre Oliva wrote:

>> This would require libtool to recognize arbitrary strip flags and
>> remove them or replace them with some more conservative
>> platform-dependent flag, depending on whether the library is to be
>> linked with later or not.  Currently libtool can't tell whether this
>> is the case.

>  Currently, libtool ignores the strip flag (-s) for libraries,
>  so it won't break compatibility.

It ignores -s, but not an arbitrary strip flag.

>  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.  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.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


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