Hi,

I'm using cygwin and ns2.34. I have followed the procedure listed below,
however, I couldn't get debug symbols to be enabled. Do I miss smth?

1. modify install file and
set --enable symbols in build tcl8.4.18 section 
./configure --enable-gcc --enable-symbols --disable-shared --prefix=$CUR_PATH 
|| die "tcl$TCLVER configuration failed! Exiting ..."

set --enable-debug in build tclcl section
./configure --enable-debug --with-otcl=../otcl-$OTCLVER || die "tclcl-$TCLCLVER 
configuration failed! Exiting ..."

2. modify makefile.in to include -g
CFLAGS += -g $(CCOPT) $(DEFINE)

3.  execute following commands
./install
./configure --enable-debug
[removed -Werror from makefile to disable warning messages]
make clean
make


When i run gdb ns I get the message "(no debugging symbols found)"

Any help is welcomed.

Best regards,
Lup.

Reply via email to