Skip to content

Enhance Cygwin support #149879

@vstinner

Description

@vstinner

Cygwin is a free and open-source Unix-like environment and command-line interface for Microsoft Windows. There is an on-going effort to support Cygwin in Python. I create this meta-issue to track other Cygwin sub-issues.

To install Cygwin on Windows and build CPython in Cygwin, you can use these commands:

  • Download https://cygwin.com/setup-x86_64.exe
  • Run setup-x86_64.exe : select gcc-core, make, libffi-devel, libssl-devel and zlib-devel packages (I also installed vim, my favorite text editor 😁).
  • Start Cygwin shell (icon on the desktop).
  • Type: git config --global core.autocrlf input -- I had issues with newlines in the ./configure script without that.
  • Run git clone https://github.com/python/cpython/ --depth=1
  • Type: cd cpython
  • Type: ./configure --with-pydebug
  • Type: make -j8

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions