osx mountain lion - setarch on a Mac -
i trying compile version of python on mac requires "setarch" command, command not appear in path (i'm running osx 10.8.3, xcode 4.6.2 installed). there version of setarch mac?
setarch
low-level unportable linux-specific command.
macos have similar command: arch.
for example:
$ arch -i386 python -c 'import sys; print sys.maxint' 2147483647 $ arch -x86_64 python -c 'import sys; print sys.maxint' 9223372036854775807
you can see python's idea of biggest possible integer changes depending on whether force run in 32-bit or 64-bit mode.
see "how launch applications in 32 bit terminal in snow leopard?".
Comments
Post a Comment