[Ns-developers] dynamic libraries on cygwin

Tom Henderson tomh at tomh.org
Sun Dec 9 22:34:42 PST 2007


Baldo Nicola wrote:
> Hi Tom & everybody,
> 
> I have been adapting our original version of the patch for dynamic 
> library support on cygwin in order to make it suitable for merging into 
> the next ns release which is to be freezed on Dec 15.
> 
> You can get the patch at this link:
> http://www.dei.unipd.it/~baldo/ns-dl-cygwin-2007-12-07.tar.gz
> 
> The code base I've been working on is the DYNLIB branch on the ns CVS 
> repository. In the .tar.gz archive you will also find two .cc files 
> which are to be put in the common/ subdirectory.
> 
> One final note... when making the ns-allinone distribution, in order to 
> effectively activate dynamic library support for cygwin, it will also be 
> required to patch the tcl.m4 file which is present in the tcl8.X/unix 
> and tk8.X/unix directories to fix the issue reported in this bug report:
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=1796308&group_id=10894&atid=110894 
> 
> 
> Feedback welcome!
> 
> 
> Nicola
> 

Nicola,
Thanks for this patch.  I read from the patch that the following files 
are modified:
+++ FILES       8 Dec 2007 00:40:46 -0000
+++ Makefile.in 8 Dec 2007 00:40:46 -0000
+++ configure   8 Dec 2007 00:40:47 -0000
+++ configure.in        8 Dec 2007 00:40:47 -0000
+++ makefile.vc 8 Dec 2007 00:40:47 -0000
+++ common/packet.cc    8 Dec 2007 00:40:47 -0000
+++ common/packet.h     8 Dec 2007 00:40:47 -0000
+++ common/ptypes2tcl.cc        8 Dec 2007 00:40:47 -0000
+++ common/tclAppInit.cc        8 Dec 2007 00:40:47 -0000
+++ conf/configure.in.dynamic   8 Dec 2007 00:40:47 -0000
+++ conf/configure.in.tail      8 Dec 2007 00:40:47 -0000
+++ tcl/lib/ns-default.tcl      8 Dec 2007 00:40:50 -0000
+++ tcl/lib/ns-lib.tcl  8 Dec 2007 00:40:50 -0000
+++ trace/cmu-trace.cc  8 Dec 2007 00:40:52 -0000
+++ trace/cmu-trace.h   8 Dec 2007 00:40:52 -0000

and also the two new files are added in common/ that you mentioned.  Are 
there any others such as documentation, example scripts, and possibly 
validation scripts?  I am reluctant to merge these extensions without 
the documentation and examples.

Tom


More information about the Ns-developers mailing list