[LLVMdev] install and the strip command

Joerg Sonnenberger joerg at britannica.bec.de
Thu Feb 27 06:19:25 PST 2014


On Thu, Feb 27, 2014 at 08:53:20AM -0500, Ed Maste wrote:
> On 27 February 2014 00:05, Simon Atanasyan <simon at atanasyan.com> wrote:
> >
> > Install tool invokes strip. GNU install allows to configure which
> > strip to use (--strip-program). In general (for example on FreeBSD) it
> > is not possible and install always runs just 'strip'. In case of
> > cross-compilation that leads to the error.
> 
> Actually it is possible on FreeBSD -- from install(1):
> 
> ENVIRONMENT
>      The install utility checks for the presence of the STRIPBIN environment
>      variable and if present, uses the assigned value as the program to run if
>      and when the -s option has been specified.
> 
> I'm not aware of other BSDs having this though, and supporting a
> collection of command options and environment settings on various
> platforms seems like it would be rather awkward.

For NetBSD, it is STRIP.

Joerg



More information about the llvm-dev mailing list