Sunday, 26 June 2011

Cygwin's confirmation

When I exit Cygwin in Windows XP Pro, I am sometimes confirmed whether I am going to terminate batch job. Though, it does not always ask, I would like to get rid of that confirmation. After googling, it is found that making a new shortcut or modifying the existing shortcut to

C:\cygwin\bin\bash.exe --login -i

from

C:\cygwin\cygwin.bat

In case you are going to make a new shortcut, the icon to cygwin locates under %SystemDrive%\cygwin\Cygwin.ico.

Saturday, 25 June 2011

Installing ns 2.34 in Ubuntu 10.04

Ubuntu 10.04 or Lucid Lynx has newer gcc version which gcc 4.4.3. It is not compatible with otcl. It needs gcc 4.3 to be compiled successfully. So, modifying makefile.in in otcl-1.13 folder solved my problem.
Change the code in Makefile.in
From this
CC = @CC@
to this
CC = gcc-4.3

Hope it helps for otcl problems in installing ns 2.34 on Ubuntu 10.04.