This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake 1.4g: About `make install-strip'
- To: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Subject: Re: automake 1.4g: About `make install-strip'
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Fri, 25 May 2001 17:03:46 +0200 (MET DST)
- cc: Tom Tromey <tromey at redhat dot com>, automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- Organization: Technical University of Gdansk
On 25 May 2001, Alexandre Duret-Lutz wrote:
> Maciej> Note that I'm writing of a performance. Install-sh is a serious
> Maciej> performance hit for non-trivial installs.
>
> Then maybe you could bypass install-strip using something like
> ./configure LDFLAGS=-s
> make
> make install
Well, stripping binaries upon linking makes one lose the ability to debug
uninstalled binaries. A better approach is to use:
INSTALL_PROGRAM='${INSTALL} -s' ./configure
make
make install
which I actually use for plain autoconf packages, which have no idea of
install-strip. Still, it's more like a workaround than a solution when
the install-strip target exists but is unoptimal.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +