I 'd like to debug a opensolaris library. I uise the nightly build process, but I can't find an option to create a library with debug information. I always get
file libXX.so libXX.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available I can see that during the build -g is used /src/build/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -xF=%all -DTEXT_DOMAIN=\"SUNW_OST_NETRPC\" -D_TS_ERRNO -I/src/build/proto/root_i386/usr/include .... Which Makefile do I need to change/update ? Markus -- This message posted from opensolaris.org