On Thu, Jul 31, 2008 at 3:19 PM, Darren J Moffat <[EMAIL PROTECTED]> wrote: > Cyril Plisko wrote: >> >> Hello ! >> >> 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 am setting these flags in the Makefile that builds the lib in question. Should have same effect, shouldn't it ? > -- > Darren J Moffat > -- Regards, Cyril _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code