[pygr-notify] [pygr commit] r245 - Added information about how Visual C++ Express Editions can be made to build 64-bit targets.

codesite-noreply at google.com codesite-noreply at google.com
Tue Jun 23 19:33:36 PDT 2009


Author: marecki
Date: Tue Jun 23 17:44:42 2009
New Revision: 245

Modified:
    wiki/PygrOnWindows.wiki

Log:
Added information about how Visual C++ Express Editions can be made to  
build 64-bit targets.


Modified: wiki/PygrOnWindows.wiki
==============================================================================
--- wiki/PygrOnWindows.wiki	(original)
+++ wiki/PygrOnWindows.wiki	Tue Jun 23 17:44:42 2009
@@ -38,6 +38,7 @@

  The easiest way of obtaining Visual C++ is to find (download from  
microsoft.com if it's the latest edition, elsewhere - e.g. on CDs attached  
to programming books at a library - if not) and install Microsoft Visual  
Studio Express Edition - it's free and takes up _much_ less disc space than  
the full-blown edition. Unfortunately the earliest Express-Edition version  
of Visual Studio was 2005, meaning this option is not viable for any  
official Python builds older than 2.6. Note that in case of VS 2003 there  
is an alternative to spending time and money on hunting down a copy - in  
2004 Microsoft made available free of charge _Visual C++ Toolkit 2003_, a  
full version of Visual C++ 2003 optimizing compiler. This will give you no  
GUI or anything fancy, just the compiler, but it is enough to build Pygr.  
The Toolkit is no longer available on microsoft.com but can quite easily be  
found elsewhere on the Web. Once you've got a copy, follow  
[http://www.vrplumber.com/programming/mstoolkit/ these instructions] to set  
everything up.

+*Note for Visual C++ Express Edition and 64-bit builds*: express editions  
at least up to and including 2008 only contain the tools for building  
32-bit binaries. Fortunately, they can easily (at least in case of  
command-line use) be made to support 64-bit systems by installing the  
standalone Windows SDK, available for free  
[http://msdn.microsoft.com/en-us/windows/bb980924.aspx at microsoft.com].  
You'll generally want the latest stable version of the SDK; if in doubt,  
consult the "Which SDK is right for me?" table provided by Microsoft. Using  
the on-line installer is recommended, as it saves one from downloading the  
whole SDK only to install its small part (look for features specifically  
referring to the x64 architecture, under _Developer Tools_). With that  
taken care of, Python should correctly invoke the 64-bit compiler.

  === Details ===




More information about the pygr-notify mailing list