1
为什么“ arch”输出“ i386”?
当我$ arch在10.9 2012 MacBook Pro上运行时,得到输出 i386 的联机帮助页上arch说 the arch command is 2-way universal, 32-bit only 但是,$ file "$(which arch)"给 /usr/bin/arch: Mach-O universal binary with 2 architectures /usr/bin/arch (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/arch (for architecture i386): Mach-O executable i386 OTOH,python2.7作为64位可执行文件运行: $ /usr/bin/python2.7 -c 'import sys; print "%x" % …