# http://www.isi.edu/nsnam/ns/ns-build.html
# which will direct to cygwin official site telling you how to install cygwin
# which will tell you how to do post-install setup
# most of which, especially the hot links will show you the whole picture and basic concept
# however, some of which is not accurate, some of which is not suitable for myself.
# I follow the popular summary — http://nsnam.isi.edu/nsnam/index.php/Running_Ns_and_Nam_Under_Windows_9x/2000/XP_Using_Cygwin
# which is some kind of update of the hot links
startxwin.bat
# use this script to start GUI of cygwin
# list all the packages
# you will find ‘gcc-core’ is installed not ‘gcc’
# it will return nothing. however, ns2′s install script tries to find call "cygcheck -c gcc"
# if you like, you may change install script, which will show you great satifaction
# it shows the x-org packages
# 7.4.1 is very small no more than 1K, so I guess 7.4.1 has some special use.
# we should backward to earlier 6.x version
# so does X-startup-scripts
# we need ‘packages_base’ and one of "X-packages" (‘packages_xfree’ or ‘packages_xorg’)
# you’d better use ‘xorg’, which is more popular now
# actually 2.3.0 is in a more official distribution page, but 2.3.4 is on a daily build page
# you’d better use this command line to log
/home/user/ns-allinone-2.30/ns-2.30/ns-tutorial/examples
ns example2.tcl
# which will show excelent animator
## these message below are generated by ./validate
Fri Jan 22 20:59:59 2010
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode
./test-all-smac-multihop ./test-all-red ./test-all-simultaneous ./test-all-wireless-tdma
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Notice that some tests in webcache will fail on freebsd when -O is turned on.
This is due to some event reordering, which will disappear when -g is turned on.
Please see <http://www.isi.edu/nsnam/ns/ns-problems.html>
for potential solutions.