Subject: Re: To strip or not to strip
To: None <>
From: Eric d'Alibut <>
List: tech-pkg
Date: 02/09/2005 14:34:24
On Wed, 09 Feb 2005 03:31:11 +0100, Matthias Buelow <> wrote:

> It would really be nice if these options were documented.. I found
> INSTALL_UNSTRIPPED neither in the manpage, nor on pkgsrc/doc, nor in the
> documentation of (although I haven't searched the latter
> exhaustively).

I found it here: /usr/pkgsrc/mk/platform/

Reading this file reveals:

.if (!defined(INSTALL_UNSTRIPPED) || empty(INSTALL_UNSTRIPPED:M[yY][eE][sS])) &&
_STRIPFLAG_CC?=         -s      # cc(1) option to strip
_STRIPFLAG_INSTALL?=    -s      # install(1) option to strip

So I am now experimenting with these lines in /etc/mk.conf:


in my attempt to produce a "gdb-debuggable" executable for a given
pkgsrc package.

Comments, excoriation, retribution, praise, condemnation, etc., will
be gratefully received. <g>

Best &c.,

No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?