Issue 18653: mingw-meta: build core modules (original) (raw)

Issue18653

Created on 2013-08-04 12:35 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg194358 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-08-04 12:35
split of - this is meta issue only for part related to build core. Remark: build of interpreter core is in . Now split is: - 01 : Python make fail on cygwin - 02 : add current dir in library path if building python standard extensions - 03 : Add Mingw recognition to pyport.h to allow building extensions - 04 : configure for shared build - 05 : dynamic loading support - 06 : implement exec prefix - 07 : ignore main program for frozen scripts - 08 : setup exclude termios module - 09 : setup _multiprocessing module - 10 : setup select module - 11 : setup _ctypes module with system libffi - 12 : defect winsock2 and setup _socket module - 13 : exclude unix only modules - 14 : setup msvcrt and _winapi modules - 15 : build extensions with GCC - 16 : use Mingw32CCompiler as default compiler for mingw* build - 17 : find import library - 18 : setup _ssl module - 19 : export _PyNode_SizeOf as PyAPI for parser module - 20 : generalization of posix build in sysconfig.py - 21 : avoid circular dependency from time module during native build of extentions - 22 : generalization of posix build in distutils/sysconfig.py - 23 : customize site - 24 after above patches user must regenerate configure script. Hints: a) at configure time define environment variable CPPFLAGS with minimum supported version like this "-DWINVER=0x501 -D_WIN32_WINNT=0x501 -DMS_COREDLL=1", i.e XP is now minimum. MS_COREDLL is required for ctype module b) at configure time define environment variable CCSHARED with minimum supported version like this: "-DWINVER=0x501 -D_WIN32_WINNT=0x501". Remark use same values as CPPFLAGS c) use --without-libm d) use --enable-shared e) use --with-system-ffi
msg194368 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-08-04 13:22
This patch require "modernize mingw&cygwin compiler classes" now opened as separate .
History
Date User Action Args
2022-04-11 14:57:49 admin set github: 62853
2021-10-21 09:59:08 iritkatriel set resolution: duplicate -> wont fix
2021-10-20 12:40:31 iritkatriel set status: open -> closedsuperseder: MinGW is unsupported - close all open issues and list them here.resolution: duplicatestage: resolved
2013-08-04 13:22:38 rpetrov set messages: +
2013-08-04 12:35:20 rpetrov create