请教 v 友们 这个 tcping 软件支持 arm M1 吗 谢谢

2022-01-14 21:49:40 +08:00
 notgoda

如何判断是否支持 arm , 页面介绍只说支持 macos, https://github.com/paradiseduo/tcping 不是 brew 里面那个, y 这个更多功能

1373 次点击
所在节点    macOS
8 条回复
czwstc
2022-01-14 22:31:42 +08:00
只是是否可用的话,rosetta 就是干这个功能的。
1423
2022-01-14 22:36:47 +08:00
我的天。看看你为这么个问题发了多少帖子。。连 xcode 项目都提供了,就算自己编译又能费多少时间
notgoda
2022-01-15 00:55:53 +08:00
@czwstc 谢谢. 我想知道他是否原生支持 arm
notgoda
2022-01-15 00:56:13 +08:00
@1423 抱歉,实在不想装 Xcode 因为平时也用不到。
seanzxx
2022-01-15 04:01:44 +08:00
你都没有下载来看过吗? 最新版本就是 universal binary 的呀,原生支持 arm / m1.
我一般用 file 查看是不是原生支持 m1

% file tcping
tcping: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
tcping (for architecture x86_64): Mach-O 64-bit executable x86_64
tcping (for architecture arm64): Mach-O 64-bit executable arm64

比如这个 tcping 就原生支持 x86_64 和 arm64
justin2018
2022-01-15 16:37:17 +08:00
notgoda
2022-01-20 21:52:30 +08:00
@justin2018
@seanzxx 谢谢两位 v 友, 我 m1 air 下载后 执行安装 提示, 是不是要先自己手动在 usr/local 建个 bin 目录? mac 系统 arm 架构也是放这个目录吗? 谢谢
mac@MacBook-Air ~ % mv tcping /usr/local/bin/
mv: rename tcping to /usr/local/bin/: No such file or directory
notgoda
2022-01-20 21:53:16 +08:00
@notgoda
@justin2018
@seanzxx shell 用的系统自带的 zsh

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

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

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

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

© 2021 V2EX