V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
notgoda
V2EX  ›  macOS

如何查看软件 arm 架构支持情况 谢谢

  •  
  •   notgoda · 2022-01-14 16:38:47 +08:00 via iPhone · 2008 次点击
    这是一个创建于 804 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1.如果 brew info 显示有已打包好的 bottle 的就肯定是支持 arm /Intel 系统架构的吗? 像下面这个软件 没有显示 arm 的信息。如何判断?$brew info telnet telnet: stable 63 (bottled) User interface to the TELNET protocol https://opensource.apple.com/ Conflicts with: inetutils (because both install 'telnet' binaries) Not installed From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/telnet.rb License: BSD-4-Clause-UC and APSL-1.0 ==> Requirements Build: Xcode ✘ Required: macOS ✔

    1. 对 unBottled 的包如何判断他是否支持 arm?

    2. 另外比如像下面这个 GitHub 上的软件如何判断他是否支持 Arm? github.com/paradiseduo/tcping

    10 条回复    2022-01-15 01:03:40 +08:00
    superchijinpeng
        1
    superchijinpeng  
       2022-01-14 16:51:26 +08:00
    brew edit
    superchijinpeng
        2
    superchijinpeng  
       2022-01-14 16:52:20 +08:00
    第二个源码都给你了,自己 build
    CodeCodeStudy
        3
    CodeCodeStudy  
       2022-01-14 16:54:52 +08:00
    https://formulae.brew.sh/formula/[email protected]

    brew 官网能看得到,有 Apple Silicon 的就是支持 ARM 架构的
    CodeCodeStudy
        4
    CodeCodeStudy  
       2022-01-14 16:57:08 +08:00
    CodeCodeStudy
        5
    CodeCodeStudy  
       2022-01-14 16:57:53 +08:00
    notgoda
        7
    notgoda  
    OP
       2022-01-14 17:19:33 +08:00 via iPhone   ❤️ 1
    @superchijinpeng 谢谢. 该如何判断他这个已经编译好的支不支持 arm?
    atone
        8
    atone  
       2022-01-14 17:21:48 +08:00
    @notgoda lipo -archs /path/to/binary
    notgoda
        9
    notgoda  
    OP
       2022-01-14 18:35:43 +08:00   ❤️ 1
    @atone 这是对于已安装的软件, 那对于未安装的呢? 谢谢
    notgoda
        10
    notgoda  
    OP
       2022-01-15 01:03:40 +08:00 via iPhone   ❤️ 1
    @CodeCodeStudy
    @CodeCodeStudy 谢谢大佬。 我贴文最后一个链接的项目 您帮忙看下 GitHub 上打包好的 binary 支持 arm 架构吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3218 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:18 · PVG 22:18 · LAX 07:18 · JFK 10:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.