[New-bugs-announce] [issue17605] mingw-meta: build interpeter core

Roumen Petrov report at bugs.python.org
Sun Mar 31 22:42:04 CEST 2013


New submission from Roumen Petrov:

split of issue3871 - this is meta issue only for part related to build interpreter core.
Goal is statically linked python executable (python.exe).
Patch set consist of :
- 01 Issue17148 : nt thread model detection
- 02 issue17590 : translate gcc internal defines to python platform specific defines
- 03 issue17591 : use header in lowercase
- 04 issue17592 : configure MACHDEP and platform for build
- 05 issue17594 : preset configure defaults
- 06 issue17595 : configure largefile support for windows builds
- 07 issue17596 : add wincrypt.h in Python/random.c
- 08 issue17597 : add $srcdir/PC to CPPFLAGS
- 09 issue17598 : init system calls
- 10 issue17599 : detect REPARSE_DATA_BUFFER
- 11 issue17600 : build-in windows modules (winreg)
- 12 issue17601 : determine if pwdmodule should be used
- 13 issue17602 : default sys.path calculations for windows  platforms
- 14 issue17603 : AC_LIBOBJ replacement of fileblocks
- 15 issue17604 : use main() to start execution

After above patches user must regenerate configure script.

Hints:
a) at configure time define CPPFLAGS with minimum supported version like this   "-DWINVER=0x501 -D_WIN32_WINNT=0x501", i.e XP is now minimum
b) use --without-libm 
c) do not use yet --enable-shared

Notes:
a) previous mingw patch (issue3871 posted in 2008) contain code that define w2k as minimum . Now python evolve and minimum is xp. 
b) previous patch nos not define libm in configure script . Instead to updated configure use tis flag
c) will be included in additional patch-set related to build of standard extensions.

----------
components: Interpreter Core
messages: 185669
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw-meta: build interpeter core
type: enhancement
versions: Python 3.4

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


More information about the New-bugs-announce mailing list