[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[WISH] install using cross strip command
From: |
Hiroki Kaminaga |
Subject: |
[WISH] install using cross strip command |
Date: |
Thu, 13 Sep 2007 17:47:34 +0900 (JST) |
Hi,
I would like to have --strip option of install command adapt to cross
toolchain, for example:
$ STRIP=mips-unknown-linux-strip install -s $app $dir
current coreutils-6.8/src/install.c seems to hard code strip command:
565 execlp ("strip", "strip", name, NULL);
something like:
char *strip_cmd;
strip_cmd = getenv("STRIP");
if (!strip_cmd)
strip_cmd = "strip";
and
execlp (strip_cmd, strip_cmd, name, NULL);
would do?
p.s. please cc: me, I'm not subscribed.
Best Regards,
(Hiroki Kaminaga)
t
--
- [WISH] install using cross strip command,
Hiroki Kaminaga <=