Thanks a lot! You are right, even after the compilation I was using the old executable file (silly me!).... I used the new one and it worked perfectly fine and I can now see the changes that I made in cc file. Great help, really appreciated! -azee
On 1/19/07, Joachim Fabini <[EMAIL PROTECTED]> wrote: > > > I change something in > > ns-allinone-2.28\ns-2.28\mac\mac-802_11.cc file and after > > saving it, I run the command make clean; make (I am using > > cygwin). The change is just a print statement that should > > appear in the simulation result. > > After that, I run the tcl simulation code again, but the > > changes that I made are not appearing in the result. Am I on > > the right track? How to chnage things in cc files? > > If dependencies are set appropriately this should work. Did > you invoke "make install" to replace the old ns executable > by the new one? Otherwise the old ns executable is in the > path and you do not see any change. Verify the timestamp of > the executable in the path (typically /usr/local/bin/ns, > "which ns" should point you to the right location). > > hih > --Joachim > >