[issue832159] Bad value for Mingw32Compiler.compiler_cxx

Roumen Petrov report at bugs.python.org
Sun Feb 10 19:45:24 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue832159>
_______________________________________


More information about the Python-bugs-list mailing list