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
--


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to