Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21995

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Compiling Python (modules) on 64bit Windows - which compiler suite?
Date 2012-03-21 13:56 -0400
References <808abad4-3ab3-4336-8a31-2f88eb28be01@v22g2000vby.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.868.1332352612.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 3/21/2012 11:06 AM, Ralph Heinkel wrote:
> when processing our mass spectrometry data we are running against the
> 2GB memory limit on our 32 bit machines. So we are planning to move to
> 64bit. Downloading and installing the 64bit version of Python for
> Windows is trivial, but how do we compile our own C extension? Visual C
> ++ 2008 express comes for free, but only compiles for 32 bit.
>
> What has been used to compile the downloadable Python Win64 bit
> version? Visual Studio professional?

Yes. Python Windows devs get it for free from MS.

> The problem with the professional edition is that it is hard to obtain
> and it is sort of out-of-date - nowadays everyone uses Visual Studio
> 2010 (or even 2011 coming soon). So if Visual Studio 2008 professional
> is required for compiling 64bit modules, we would have to spend $1200
> for a license which is actually rather out of date.
>
> Any hints or suggestions are very welcome.

I believe the intention is to release 3.3 compiled with VS 2010. Brian 
Curtin and Martin Loewis are working on that. I believe people have 
successfully built at least the basics with VS2010.

You could also dual boot to Linux and get 64 bit gcc for free.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Compiling Python (modules) on 64bit Windows - which compiler suite? Ralph Heinkel <ralph.heinkel@web.de> - 2012-03-21 08:06 -0700
  Re: Compiling Python (modules) on 64bit Windows - which compiler suite? Terry Reedy <tjreedy@udel.edu> - 2012-03-21 13:56 -0400
  Re: Compiling Python (modules) on 64bit Windows - which compiler suite? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-03-21 15:02 -0400
  Re: Compiling Python (modules) on 64bit Windows - which compiler suite? Thomas Bach <thbach@students.uni-mainz.de> - 2012-03-21 20:03 +0100
  Re: Compiling Python (modules) on 64bit Windows - which compiler suite? cjgohlke@gmail.com - 2012-03-21 17:06 -0700
    Re: Compiling Python (modules) on 64bit Windows - which compiler suite? Ralph Heinkel <ralph.heinkel@web.de> - 2012-03-22 11:34 -0700
  Re: Compiling Python (modules) on 64bit Windows - which compiler suite? Stefan Behnel <stefan_ml@behnel.de> - 2012-03-22 08:06 +0100

csiph-web