On Mon, Oct 26, 2009 at 3:17 PM, David Warde-Farley <d...@cs.toronto.edu>wrote:

> Check if there's a
> /Library/Frameworks/Python.framework/Versions/2.6/bin/python-64 (or
> /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-64). IIRC
> that's how the builds produced from source work; separate executables for 32
> and 64 bit mode.
>

Hi,

Thanks... yes thats what I was expecting initially, but there is nothing
there:
jm-g26b101:bin robince$ ls
/Library/Frameworks/Python.framework/Versions/2.6/bin/
2to3             pydoc            python-config    pythonw
smtpd2.6.py
idle             pydoc2.6         python2.6        pythonw2.6
idle2.6          python           python2.6-config smtpd.py

>From reading the documentation I think they may only be created with the
universal-archs=all target (which includes ppc and ppc64 which I dont need).

In any case - 'file' shows that it is a universal binary, just the 'arch'
method of selecting architecture doesn't appear to work:
jm-g26b101:bin robince$ file
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6: Mach-O
universal binary with 2 architectures
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 (for
architecture i386):        Mach-O executable i386
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 (for
architecture x86_64):      Mach-O 64-bit executable x86_64

Perhaps I will try the 'all' variant next.

Cheers

Robin
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to