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

2022-01-14 16:38:47 +08:00
 notgoda

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

2033 次点击
所在节点    macOS
10 条回复
superchijinpeng
2022-01-14 16:51:26 +08:00
brew edit
superchijinpeng
2022-01-14 16:52:20 +08:00
第二个源码都给你了,自己 build
CodeCodeStudy
2022-01-14 16:54:52 +08:00
https://formulae.brew.sh/formula/mysql@5.7

brew 官网能看得到,有 Apple Silicon 的就是支持 ARM 架构的
CodeCodeStudy
2022-01-14 16:57:08 +08:00
CodeCodeStudy
2022-01-14 16:57:53 +08:00
1002xin
2022-01-14 16:58:30 +08:00
notgoda
2022-01-14 17:19:33 +08:00
@superchijinpeng 谢谢. 该如何判断他这个已经编译好的支不支持 arm?
atone
2022-01-14 17:21:48 +08:00
@notgoda lipo -archs /path/to/binary
notgoda
2022-01-14 18:35:43 +08:00
@atone 这是对于已安装的软件, 那对于未安装的呢? 谢谢
notgoda
2022-01-15 01:03:40 +08:00
@CodeCodeStudy
@CodeCodeStudy 谢谢大佬。 我贴文最后一个链接的项目 您帮忙看下 GitHub 上打包好的 binary 支持 arm 架构吗?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/828278

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX