On Jan 18, 2001, Tom Tromey <[EMAIL PROTECTED]> wrote:
Alexandre> We could surely adjust install-sh so as to take a STRIP
Alexandre> variable into account, and set INSTALL_STRIP (a new
Alexandre> variable, set to the same as `$(INSTALL)' if not
Alexandre> cross-compiling, or to `STRIP=toolchain-strip
Alexandre> $(CONFIG_SHELL) /path/to/install-sh' otherwise) in the
Alexandre> configure script.
> install-sh already supports STRIPPROG.
> The problem arises when using the vendor (even GNU) install.
Even better! Then we can just arrange for INSTALL_STRIP to set
STRIPPROG and use install-sh for cross install-strip. install-strip
would pass INSTALL=$(INSTALL_STRIP) to the sub-make, where
INSTALL_STRIP would be set by configure as needed for cross builds.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me