[issue3871] cross and native build of python for mingw32 with distutils

Roumen Petrov report at bugs.python.org
Mon Nov 15 23:54:15 CET 2010


Roumen Petrov <bugtrack at roumenpetrov.info> added the comment:

No it is win32 for the resulting binaries.

Idea is following (issue3754) . Travial patch - move method get_platform 
global _get_platform and variable host_platform is initialized to its 
return value. Then replace all calls of sys.platform and get_platform() 
to use host_platform.

In the patch for this issue _get_platform is modiffed to return mingw32 
if ....  so host_platform will be 'minwg32'. Including compiler and etc. 
don't work well in cross-compilation environment as the build script is 
run with python from build system.

Roumen

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3871>
_______________________________________


More information about the Python-bugs-list mailing list