◐ Shell
clean mode source ↗

Issue 5046: native win32 and wine mingw+msys build of python2.7

this is an update of the mingw+msys port for native win32,
with the aim of being both compiled and used under both
wine-win32 and native-win32.

it is not a cross-compile patch.  it does not require -lwine.
it does not require a unix system.  it does not require cygwin.
(repeat the previous four sentences for both build _and_ use
of the resultant python.exe).  this information is specifically
given and stated [so blandly] because several people have been
extremely confused by what this patch achieves, due to the
tools being utilised to achieve it [wine].

the patch is against svn trunk r68884.

as of 2 hours ago, the following tests failed:
22 tests failed:
    test_cmath test_cmd_line_script test_compiler test_ctypes
    test_decimal test_distutils test_file test_logging test_mailbox
    test_math test_ntpath test_os test_parser test_posixpath test_pwd
    test_smtplib test_startfile test_tempfile test_transformer
    test_winsound test_zipfile test_zipimport_support

since then, several have been corrected.  test_pwd should not be
being tested.  several of the tests (test_tempfile) are fails due
to use of native wine msvcrt (it gets better when win32 msvcrt
is used).

this is work-in-progress for those people interested.

builds with --enable-msvcr9build are possible.

incorporation of roumen's cross-compile work is ongoing.