Roumen Petrov added the comment:

In scope of issue12641 (Remove -mno-cygwin from distutils) I just publish a set 
of patches to modernize support for cygwin&mingw compilers.

My tests show that swig could be used successfully with patched mingw compiler. 
Test is based on patched official release 3.3.0 and my custom build of current 
master source with GNU windows compiler.
For protocol tested swig version is 2.0.9 and may be due syntax change swig 
module has to be described as :
-----
/* hello.i */
%module hello
%{
extern void hello(void);
%}

extern void hello(void);
-----

Distutils complain for --swig-cpp so command now is "python setup.py build_ext 
-cmingw32 --swig-cpp -f"

----------
nosy: +rpetrov

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue832159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to