> > 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 ?
 > 
 > Does this help?
 > 
 > dmake "$@" COPTFLAG='-g' \
 >         COPTFLAG64='-g' \
 >         DEBUGFORMAT="-xdebugformat=dwarf" \
 >         XFFLAG='' \
 >         sparc_C_PICFLAGS='-K PIC' \
 >         STRIPSTABS_KEEP_STABS="1"

I'd be surprised if you needed anything more than STRIPSTABS_KEEP_STABS.

--
meem
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to