"Michael Yanowitz"wrote > > > I am just trying out SWIG, but quickly ran into problems. > Using Cygwin gcc, I tried the following: > > 3)ran in cygwin: swig -i python example.i
try 'swig -python example.i' > 4)Attempted to run on cygwin: ld -shared example.o example_wrap.o -o > _example.so try $ gcc -I/usr/include/python2.4 -L/lib/python2.4/config --shared example.c example_wrap.c -lpython2.4 -o _example.dll $ python Python 2.4.1 (#1, May 27 2005, 18:02:40) [GCC 3.3.3 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from example import * >>> get_time() 'Tue Jun 27 16:17:41 2006\n' HTH Norman -- http://mail.python.org/mailman/listinfo/python-list