Debugging with pkgsrc

At some point, you may want to generate binary programs that are unstripped of debugging information.  You may want to generate them with pkgsrc.  Here’s a little note on what options will make that happen.

1 Comment on Debugging with pkgsrc


  1. Max Herrgaard says:

    Remember keep the sources around for the debugging, i.e. don’t do bmake clean.

    I’ve set WORKOBJDIR=/usr/pkgobj in my mk.conf so if I want to remove all work dirs anyway it’s just a simple rm -rf /usr/pkgobj/*