On Thu, Mar 27, 2008 at 07:10:19PM +0100, Mark Phalan wrote:
> Up until recently when I was debugging something I sometimes liked to
> build debug libraries that I could use with dbx.
> For e.g. when building mech_krb5.so.1 I built like this:
> 
> CTFCONVERT_O="" CTFMERGE_LIB="" COPTFLAG="-g" COPTFLAG64="-g" make
> install

I usually do this instead:

% export STRIPSTABS_KEEP_STABS=1
% dmake COPTFLAG=-g COPTFLAG64=-g install

STRIPSTABS_KEEP_STABS is that which tells the ctf tools not to remove
the debug info.


Reply via email to