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: automake 1.4g: About `make install-strip'


>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:

 Alexandre> On May 26, 2001, Tom Tromey <tromey@redhat.com> wrote:
 >>>>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
>>> Note that I'm writing of a performance.  Install-sh is a serious
>>> performance hit for non-trivial installs.

 Alexandre> How about only use install-sh for install-strip on cross builds?

 >> I'm ok with this idea.  Can it be easily done with autoconf 2.13
 >> compatibility?

 Alexandre> Not easily.  cross_compiling used to be set only
 Alexandre> after compiler tests in 2.13.  But we could just
 Alexandre> compare $host with $build, like 2.50 does, to decide
 Alexandre> whether to use install-sh -s or install -s.  How
 Alexandre> does this sound?

Kludgy, if that word exists :)  Something similar to this was
done before we decided to use install-sh unconditionally, and
the selection of install-sh versus install led to very ugly
Makefile constructs involving submake evaluations to preserve
relative filenames and the like.

I'd really prefer the MAYBE_STRIP solution suggested in a
separate mail.
-- 
Alexandre Duret-Lutz


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