I had to use NS-2 on Windows. So I installed Cygwin and downloaded the NS-2 source and started ./install, then it said
Cygwin detected
Note: Cygwin install is still considered EXPERIMENTAL
Checking Cygwin version is >= 1.7.1... 1.7.27 (should be ok)
Checking filesystems are mounted as UNIX filetype... yes
Checking default mode is binmode... yes
Checking legitimate login name... ok
Checking legitimate path name... ok
Checking for gcc4... NO!
Cygwin has packages that seem to be related to gcc4
cygwin64-gcc
gcc
mingw-gcc
mingw64-*-gcc
And they all have versions> = 4.x
And there are no packages named *gcc4*
source
share