[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make install-strip in cross-compilation environments
From: |
Alexandre Duret-Lutz |
Subject: |
make install-strip in cross-compilation environments |
Date: |
17 Jan 2001 09:44:08 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Hi all,
autoconf and automake do a great job at finding the right
tools (CC, RANLIB, etc.) to use in a package configured for
cross-compilation with --host=foobar.
Unfortunately, there is something roten with `make
install-strip' in such case: `install' or `install-sh' are
called with the `-s' option to strip installed binaries, but
this in turn calls `strip' and not `foobar-strip' as expected.
I'm wondering what would be the best way to cope with this
a) patch GNU fileutils so that `install' honors the `STRIPPROG'
envvar as `install-sh' does, and set the value of that variable
before calling install in the Makefiles.
b) change the Makefiles to not call `install -s', but just
`install' followed by a direct call to the correct strip.
c) don't use `make install-strip', but add a --enable-strip
option to configure that adds `-s' to LDFLAGS.
d) other?
--
Alexandre Duret-Lutz
- make install-strip in cross-compilation environments,
Alexandre Duret-Lutz <=
- Re: make install-strip in cross-compilation environments, Tom Tromey, 2001/01/17
- Re: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Oliva, 2001/01/18
- Re: make install-strip in cross-compilation environments, Tom Tromey, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Oliva, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/20
- PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/20
- Re: PATCH: make install-strip in cross-compilation environments, Tom Tromey, 2001/01/21
- Re: PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/22
- Re: PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/23