Skip to content

mingw-meta: build core modules #62853

Closed
Closed

Description

@rpetrov
mannequin
BPO 18653
Superseder
  • bpo-45538: MinGW is unsupported - close all open issues and list them here.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-10-20.12:40:31.487>
    created_at = <Date 2013-08-04.12:35:20.034>
    labels = ['extension-modules', 'type-feature', 'build']
    title = 'mingw-meta: build core modules'
    updated_at = <Date 2021-10-21.09:59:08.765>
    user = 'https://bugs.python.org/rpetrov'

    bugs.python.org fields:

    activity = <Date 2021-10-21.09:59:08.765>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-20.12:40:31.487>
    closer = 'iritkatriel'
    components = ['Build', 'Extension Modules', 'Cross-Build']
    creation = <Date 2013-08-04.12:35:20.034>
    creator = 'rpetrov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 18653
    keywords = []
    message_count = 2.0
    messages = ['194358', '194368']
    nosy_count = 1.0
    nosy_names = ['rpetrov']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = '45538'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18653'
    versions = ['Python 3.4']

    Activity

    1. rpetrov commented on Aug 4, 2013

      rpetrovmannequin
      MannequinAuthor

      split of bpo-3871 - this is meta issue only for part related to build core. Remark: build of interpreter core is in bpo-17605 .

      Now split is:

      • 01 bpo-13756 : Python make fail on cygwin
      • 02 bpo-17219 : add current dir in library path if building python standard extensions
      • 03 bpo-6672 : Add Mingw recognition to pyport.h to allow building extensions
      • 04 bpo-18485 : configure for shared build
      • 05 bpo-18486 : dynamic loading support
      • 06 bpo-18487 : implement exec prefix
      • 07 bpo-18495 : ignore main program for frozen scripts
      • 08 bpo-18496 : setup exclude termios module
      • 09 bpo-18497 : setup _multiprocessing module
      • 10 bpo-18498 : setup select module
      • 11 bpo-18499 : setup _ctypes module with system libffi
      • 12 bpo-18500 : defect winsock2 and setup _socket module
      • 13 bpo-18630 : exclude unix only modules
      • 14 bpo-18631 : setup msvcrt and _winapi modules
      • 15 bpo-18632 : build extensions with GCC
      • 16 bpo-18633 : use Mingw32CCompiler as default compiler for mingw* build
      • 17 bpo-18634 : find import library
      • 18 bpo-18636 : setup _ssl module
      • 19 bpo-18637 : export _PyNode_SizeOf as PyAPI for parser module
      • 20 bpo-18638 : generalization of posix build in sysconfig.py
      • 21 bpo-18639 : avoid circular dependency from time module during native build of extentions
      • 22 bpo-18640 : generalization of posix build in distutils/sysconfig.py
      • 23 bpo-18641 : 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

    2. added
      buildThe build process and cross-build
      type-featureA feature request or enhancement
      on Aug 4, 2013
    3. rpetrov commented on Aug 4, 2013

      rpetrovmannequin
      MannequinAuthor

      This patch require "modernize mingw&cygwin compiler classes" now opened as separate bpo-18654 .

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-buildextension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions