Skip to content

猪窝

计算机,游戏,摄影,AV,生活

Tag: ldd

Mac OS X下查看可执行文件是32-bit还是64-bit的方法

[c toolbar=”false”] $ otool -h /bin/sh [/c] /bin/sh: Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 0xfeedfacf 16777223 3 0x80 2 15 2040 0x00200085 如上命令的输出,如果magic值为0xfeedfacf,则为64位,如果是0xfeedface,则为32位。

Published August 21, 2011
Categorized as 软件(Software) Tagged 32-bit 64-bit exec, ldd, Mac OS X, otool

Pages

  • About
  • Contact

Tag Cloud

Apple blog C++ COM DELL dell studio 1558 english gems git GPS Install iOS linux Lion Mac macbook pro Mac OS X Mac OSX macosx MBP mobile mysql objective-c osx ruby startup svn terminal vm vmware VS2010 Windows wordpress 上海世博会 买电脑 博客备份 导入 导出 工作(Jobs) 心理 戴尔 抄袭 程序员 管理 网易
猪窝
Proudly powered by WordPress.