> I've been trying to use Python20 under NT4 with SWIG, and I've reached a
> dead end trying to link in symbols like _imp__PyArg_ParseTuple and its
> friends which are needed by the SWIG-generated wrapper.  It looks (from a
> bit of grepping) like these are in libs/python20.lib but I can't
> successfully link or run nm on those .lib files.  It might be because I'm
> compiling with cygwin b20.1 and it doesn't recognise the format.

Yup, I suspect that's the problem.  ActivePython was compiled with MSVC
6.0, and I don't think those libraries are compatible w/ cygwin's gcc by
default.  I think that with a fair bit of work, one can use either cygwin
or mingw32 (I think that's the name) to create libs which are compatible,
but I'm afraid I don't know the details.

Someone else on the list may have better pointers.

-- David Ascher
   ActiveState

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to