On Oct 30, 3:34 am, "Jason Martin" <[EMAIL PROTECTED]>
wrote:
> Has anyone tried a 64-bit build on Leopard? I just picked up Leopard
> today, so I'll hopefully have a running Leopard machine tomorrow on
> which to start playing. Just wondering if, for example, python can
> build in 64-bit mode on Leopard.
>
> --jason
>
That is #1006, and as far as I know nobody has tried yet. We plan to
get 32 bit working on 10.5 "out of the box" by Friday and then tackle
the 64 bit build afterwards. If you start playing around please report
your finding at ticket #1006.
For some pointers on how to get python to build in 64 bit mode see
http://mail.python.org/pipermail/pythonmac-sig/2007-June/019045.html
To quote (which is actually about 64 bit on *Tiger*):
<quote>
The build is universal, but for me only one of the two archictures
actually worked: I did my build on an Intel system and the 64-bit
build worked on that machine, but didn't work on a G5 mac. That's
probably something shallow, but as that machine doesn't have the
Xcode installed and is on the other side of a slow network connection
I haven't tried to debug this yet.
1) Edit the configure script, look for "-arch i386" and "-arch ppc"
and change that those to "-arch ppc64" and "-arch x86_64". You'll
have to make multiple changes to the configure file.
2) Build using:
$ mkdir build
$ cd build
$ CFLAGS="-arch ppc64 -arch x86_64" ../configure \
--enable-universalsdk \
--disable-toolbox-glue --prefix=/opt/python25-64bit
$ make
$ make install
3) Optionally: run "make testall" to run the unittests and check
pyconfig.h to check the various SIZEOF definitions.
You now have a 64-bit build of python in /opt/python25-64bit.
</quote>
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---