This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
标题: mingw-meta: build interpeter core
类型: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.5
process
状态: closed Resolution: wont fix
Dependencies: 17590 17592 17596 17597 17598 17599 17601 17602 17603 17604 18500 后续: MinGW is unsupported - close all open issues and list them here.
View: 45538
分配给: 抄送列表: rpetrov
优先级: normal 关键字:

Created on 2013-03-31 20:42 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg185669 - (view) Author: Roumen Petrov (rpetrov) * 日期: 2013-03-31 20:42
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.
msg185822 - (view) Author: Mark Lawrence (BreamoreBoy) * 日期: 2013-04-02 07:11
There are patches on #10615 which may be of some use here.
msg194375 - (view) Author: Roumen Petrov (rpetrov) * 日期: 2013-08-04 13:51
please follow build of core modules - issue18653 .
msg223132 - (view) Author: Mark Lawrence (BreamoreBoy) * 日期: 2014-07-15 18:07
There are a pile of mingw enhancement requests with this and
#18653, #18654 and #19245 being meta issues.  What is the official status of mingw within Python?  Is the originator of these issues solely responsible for taking them forward?
历史
日期 用户 动作 参数
2022-04-11 14:57:43admin修改github: 61805
2021-10-21 10:02:57iritkatriel修改resolution: duplicate -> wont fix
2021-10-20 12:54:04iritkatriel修改状态: open -> closed
后续: MinGW is unsupported - close all open issues and list them here.
resolution: duplicate
stage: resolved
2018-07-19 06:02:41martin.panter链接issue18397 superseder
2016-07-28 05:51:53martin.panter修改dependencies: + mingw: use main() to start execution
2016-03-19 08:27:52martin.panter修改dependencies: + mingw: detect REPARSE_DATA_BUFFER
2016-03-12 06:28:25BreamoreBoy修改抄送: - BreamoreBoy
2016-03-11 21:04:42martin.panter修改dependencies: + mingw: translate gcc internal defines to python platform specific defines, mingw: configure MACHDEP and platform for build, mingw: add wincrypt.h in Python/random.c, mingw: Allow Objects/exceptions.c to include "errmap.h", mingw: init system calls, mingw: determine if pwdmodule should be used, mingw: default sys.path calculations for windows platforms, AC_LIBOBJ replacement of fileblocks, mingw: detect winsock2 and setup _socket module
2014-07-15 18:07:59BreamoreBoy修改抄送: + BreamoreBoy

消息: + msg223132
versions: + Python 3.5, - Python 3.4
2014-02-03 17:03:57BreamoreBoy修改抄送: - BreamoreBoy
2013-08-04 13:51:15rpetrov修改消息: + msg194375
2013-04-02 07:11:13BreamoreBoy修改抄送: + BreamoreBoy
消息: + msg185822
2013-03-31 20:42:04rpetrov创建