homepage

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
Title: mingw-meta: build interpeter core
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.5
process
Status: closed Resolution: wont fix
Dependencies: 17590 17592 17596 17597 17598 17599 17601 17602 17603 17604 18500 Superseder: MinGW is unsupported - close all open issues and list them here.
View: 45538
Assigned To: Nosy List: rpetrov
Priority: normal Keywords:

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) * Date: 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) * Date: 2013年04月02日 07:11
There are patches on #10615 which may be of some use here.
msg194375 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013年08月04日 13:51
please follow build of core modules - issue18653 .
msg223132 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 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?
History
Date User Action Args
2022年04月11日 14:57:43adminsetgithub: 61805
2021年10月21日 10:02:57iritkatrielsetresolution: duplicate -> wont fix
2021年10月20日 12:54:04iritkatrielsetstatus: open -> closed
superseder: MinGW is unsupported - close all open issues and list them here.
resolution: duplicate
stage: resolved
2018年07月19日 06:02:41martin.panterlinkissue18397 superseder
2016年07月28日 05:51:53martin.pantersetdependencies: + mingw: use main() to start execution
2016年03月19日 08:27:52martin.pantersetdependencies: + mingw: detect REPARSE_DATA_BUFFER
2016年03月12日 06:28:25BreamoreBoysetnosy: - BreamoreBoy
2016年03月11日 21:04:42martin.pantersetdependencies: + 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:59BreamoreBoysetnosy: + BreamoreBoy

messages: + msg223132
versions: + Python 3.5, - Python 3.4
2014年02月03日 17:03:57BreamoreBoysetnosy: - BreamoreBoy
2013年08月04日 13:51:15rpetrovsetmessages: + msg194375
2013年04月02日 07:11:13BreamoreBoysetnosy: + BreamoreBoy
messages: + msg185822
2013年03月31日 20:42:04rpetrovcreate

AltStyle によって変換されたページ (->オリジナル) /