[New-bugs-announce] [issue5046] native win32 and wine mingw+msys build of python2.7

Luke Kenneth Casson Leighton report at bugs.python.org
Sat Jan 24 22:37:51 CET 2009


New submission from Luke Kenneth Casson Leighton <lkcl at lkcl.net>:

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.

----------
components: Build
files: python-2.7a0-r68884-mingw-msys.patch
keywords: patch
messages: 80481
nosy: lkcl
severity: normal
status: open
title: native win32 and wine mingw+msys build of python2.7
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file12849/python-2.7a0-r68884-mingw-msys.patch

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


More information about the New-bugs-announce mailing list