
Hi, I am interested in working on Windows 7 64bit support for PyPy. Does anyone know what the best way to get started with this is? Is there a list of work that needs to be done to support Windows anywhere?

First - getting a buildbot running http://buildbot.pypy.org/builders/own-win-x86-64 <- this one has been down for quite a while Second - starting to make tests pass. On Tue, Aug 20, 2013 at 3:06 PM, Robert Grosse <n210241048576@gmail.com> wrote:

Hi all, I finally wrote out the details of what I think is a reasonable plan. https://bitbucket.org/pypy/pypy/raw/default/pypy/doc/windows.rst "What is missing for a full 64-bit translation" A bientôt, Armin.

Hi again, On Wed, Aug 21, 2013 at 9:46 AM, Armin Rigo <arigo@tunes.org> wrote:
Updated the file. Anyone with an interest in helping on Win64, please start by looking there --- the first step does not require any PyPy knowledge, because it's hacking at *CPython* :-) A bientôt, Armin.

It looks like CPython assumes the use of Visual Studio on Windows, but the express edition does not support 64bit compilation. Would it be feasible to use Mingw instead? I've looked around online, but it seems pretty discouraging. On Fri, Aug 23, 2013 at 1:40 PM, Armin Rigo <arigo@tunes.org> wrote:

Um, I believe you're mistaken. Though it's true that visual studio express doesn't *come * with a 64 bit compiler (at least on windows 7 and below, the latest one for win8 does) you can still download the windows 64 bit SDK and use the one that comes with that. Sincerely, Clay Sweetser "Evil begins when you begin to think of people as things." - Terry Pratchett On Sep 3, 2013 11:53 PM, "Robert Grosse" <n210241048576@gmail.com> wrote:

In a strange coincidence, compining for 64 bit windows was in today's numpy mailing list, Christoph Gohlke wrote: " I would not recommend the VS Express version. Instead use the "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1" <http://www.microsoft.com/en-us/download/details.aspx?id=3138>, which contains compatible 32 and 64 bit compilers for Python 2.6 to 3.2. Use the web installer or mount the ISO with VirtualCloneDrive <http://www.slysoft.com/en/virtual-clonedrive.html>. Then, on a command prompt in the numpy source directory type (not tested, but should work for 64 bit Python 2.7): setlocal EnableDelayedExpansion call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista set DISTUTILS_USE_SDK=1 C:\Python27\python.exe setup.py build " Note that while using the VS Express version may give you a more pleasant IDE to debug with, adapting the steps above to building CPython should allow most of what's needed to implement the first steps of Armin's plan. Matti On 09/04/2013 07:15 AM, Clay Sweetser wrote:

Are you sure that building CPython with the Windows SDK is actually supported? I've found instructions online for building various Python extensions with the free compiler, but I haven't been able to find anything that works for building Python itself. Running setup.py fails because sysconfig.get_config_var("CONFIG_ARGS") returns None. On Wed, Sep 4, 2013 at 12:15 AM, Clay Sweetser <clay.sweetser@gmail.com>wrote:

On Sep 9, 2013 3:58 PM, "Robert Grosse" <n210241048576@gmail.com> wrote:
Are you sure that building CPython with the Windows SDK is actually
supported? I've found instructions online for building various Python extensions with the free compiler, but I haven't been able to find anything that works for building Python itself. The tools provided by the windows SDK are the same tools that Visual Studio uses. In that capacity, VS is little more than a GUI for the underlying tools and configs. Clay Sweetser "Evil begins when you begin to treat other people as things." - Terry Pratchett
Running setup.py fails because sysconfig.get_config_var("CONFIG_ARGS")
returns None.
On Wed, Sep 4, 2013 at 12:15 AM, Clay Sweetser <clay.sweetser@gmail.com>
wrote: the express edition does not support 64bit compilation. Would it be feasible to use Mingw instead? I've looked around online, but it seems pretty discouraging.

First - getting a buildbot running http://buildbot.pypy.org/builders/own-win-x86-64 <- this one has been down for quite a while Second - starting to make tests pass. On Tue, Aug 20, 2013 at 3:06 PM, Robert Grosse <n210241048576@gmail.com> wrote:

Hi all, I finally wrote out the details of what I think is a reasonable plan. https://bitbucket.org/pypy/pypy/raw/default/pypy/doc/windows.rst "What is missing for a full 64-bit translation" A bientôt, Armin.

Hi again, On Wed, Aug 21, 2013 at 9:46 AM, Armin Rigo <arigo@tunes.org> wrote:
Updated the file. Anyone with an interest in helping on Win64, please start by looking there --- the first step does not require any PyPy knowledge, because it's hacking at *CPython* :-) A bientôt, Armin.

It looks like CPython assumes the use of Visual Studio on Windows, but the express edition does not support 64bit compilation. Would it be feasible to use Mingw instead? I've looked around online, but it seems pretty discouraging. On Fri, Aug 23, 2013 at 1:40 PM, Armin Rigo <arigo@tunes.org> wrote:

Um, I believe you're mistaken. Though it's true that visual studio express doesn't *come * with a 64 bit compiler (at least on windows 7 and below, the latest one for win8 does) you can still download the windows 64 bit SDK and use the one that comes with that. Sincerely, Clay Sweetser "Evil begins when you begin to think of people as things." - Terry Pratchett On Sep 3, 2013 11:53 PM, "Robert Grosse" <n210241048576@gmail.com> wrote:

In a strange coincidence, compining for 64 bit windows was in today's numpy mailing list, Christoph Gohlke wrote: " I would not recommend the VS Express version. Instead use the "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1" <http://www.microsoft.com/en-us/download/details.aspx?id=3138>, which contains compatible 32 and 64 bit compilers for Python 2.6 to 3.2. Use the web installer or mount the ISO with VirtualCloneDrive <http://www.slysoft.com/en/virtual-clonedrive.html>. Then, on a command prompt in the numpy source directory type (not tested, but should work for 64 bit Python 2.7): setlocal EnableDelayedExpansion call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista set DISTUTILS_USE_SDK=1 C:\Python27\python.exe setup.py build " Note that while using the VS Express version may give you a more pleasant IDE to debug with, adapting the steps above to building CPython should allow most of what's needed to implement the first steps of Armin's plan. Matti On 09/04/2013 07:15 AM, Clay Sweetser wrote:

Are you sure that building CPython with the Windows SDK is actually supported? I've found instructions online for building various Python extensions with the free compiler, but I haven't been able to find anything that works for building Python itself. Running setup.py fails because sysconfig.get_config_var("CONFIG_ARGS") returns None. On Wed, Sep 4, 2013 at 12:15 AM, Clay Sweetser <clay.sweetser@gmail.com>wrote:

On Sep 9, 2013 3:58 PM, "Robert Grosse" <n210241048576@gmail.com> wrote:
Are you sure that building CPython with the Windows SDK is actually
supported? I've found instructions online for building various Python extensions with the free compiler, but I haven't been able to find anything that works for building Python itself. The tools provided by the windows SDK are the same tools that Visual Studio uses. In that capacity, VS is little more than a GUI for the underlying tools and configs. Clay Sweetser "Evil begins when you begin to treat other people as things." - Terry Pratchett
Running setup.py fails because sysconfig.get_config_var("CONFIG_ARGS")
returns None.
On Wed, Sep 4, 2013 at 12:15 AM, Clay Sweetser <clay.sweetser@gmail.com>
wrote: the express edition does not support 64bit compilation. Would it be feasible to use Mingw instead? I've looked around online, but it seems pretty discouraging.
participants (6)
-
Armin Rigo
-
Clay Sweetser
-
Maciej Fijalkowski
-
Matti Picus
-
Robert Grosse
-
Taavi Burns