[Pythonmac-SIG] 64-bit Python?

William Kyngesburye woklist at kyngchaos.com
Sun Jun 1 17:23:30 CEST 2008


On May 29, 2008, at 5:13 PM, Boyd Waters wrote:

> The MacPorts 2.5.2 doesn't have my 64-bit hacks in it.

Are there any changes needed to the python executable binary to  
support 64bits?  I compiled a quick 64bit python executable as a  
companion to the system's Python like so:

gcc -arch x86_64 -arch ppc64 -I/System/Library/Frameworks/ 
Python.framework/Headers -lpython2.5 -o python64 Modules/python.c

Tested OK with gdal-python.  sys.maxint gives the 64bit value.

>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled  
with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in a  
bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy




More information about the Pythonmac-SIG mailing list