[pypy-dev] Windows 7 x64 development
Matti Picus
matti.picus at gmail.com
Wed Sep 4 10:28:06 CEST 2013
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:
>
> 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 at gmail.com
> <mailto:n210241048576 at gmail.com>> wrote:
>
> 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 at tunes.org
> <mailto:arigo at tunes.org>> wrote:
>
> Hi again,
>
> On Wed, Aug 21, 2013 at 9:46 AM, Armin Rigo <arigo at tunes.org
> <mailto:arigo at tunes.org>> wrote:
> > 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"
>
> 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.
>
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org <mailto:pypy-dev at python.org>
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
More information about the pypy-dev
mailing list