On Thu, 31 Jul 2008, Darren J Moffat wrote:

>> I am building debug version of one of the shared libraries in ON (I
>> need to run it through dbx),  but it seems to still lack debug info.
>> Am I missing something obvious here, or does it require some special
>> make procedure to be used ?
>> I am able to debug it if I compile every source myself and then link
>> it manually to create a shared object, but that seems ugly to me -
>> there must be a better way.
>
>How did you try to do this ?
>
>I can usually make this work by setting COPTFLAG="-g" COPTFLAG64="-g" in 
>my environment before running make.

        I haven't tried that for some time but when I was working with debug 
OpenSSL libs I think I had to set more variables:

CTFCONVERT_O="" CTFMERGE_LIB="" COPTFLAG="-g" COPTFLAG64="-g" dmake install

        I think those CTF* were needed as well but the situation might have 
changed.

-- 
Jan Pechanec
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to