Dan Yamins wrote:
> On Wed, Jun 4, 2008 at 9:06 PM, Charles R Harris 
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>         Are both python and your version of OS X fully 64 bits?
>
>
> I'm not sure.  
>From  python:

python2.5 -c 'import platform;print platform.architecture()'
('32bit', 'ELF')

versus :

('64bit', 'ELF')

You can also try the unix file command (eg: from a terminal):

$ file `which python2.5`
/sware/exp/fable/standalone/redhate4-a64/bin/python: ELF 64-bit LSB 
executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, 
dynamically linked (uses shared libs), not stripped

...etc. We needed this for generating the .so library file name for 
ctypes, and got the answer from comp.lang.python. I hope it also works 
for OS X.

Best,

Jon




_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to