【问题标题】:Choose the 32 or 64 bit version of an app from command line从命令行选择应用程序的 32 位或 64 位版本
【发布时间】:2012-01-06 09:09:26
【问题描述】:

我在 Mac OS X 上,我有一个与 x86_64 和 i386 架构兼容的可执行二进制文件。

从命令行,我想选择必须启动这些架构中的哪一个

如何做到这一点?谢谢。

【问题讨论】:

    标签: macos architecture command-line x86-64 i386


    【解决方案1】:

    代替:

    $ executable_file
    

    输入任一:

    $ arch -i386 executable_file
    

    或:

    $ arch -x86_64 executable_file
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-09
      • 2016-11-16
      • 1970-01-01
      • 2020-10-28
      • 2011-07-07
      • 2012-01-10
      相关资源
      最近更新 更多