【发布时间】:2020-05-04 00:47:00
【问题描述】:
我看到了这个项目https://github.com/strace/strace。 (这是 strace 最好的项目吗?)
我有用于 Arm Linux 的 gcc 交叉编译器。
如何为 Arm Linux 编译它?
我在这里查看https://github.com/strace/strace/tree/master/linux/arm,但我没有找到 Make 文件
【问题讨论】:
-
具体情况取决于 a) 您的特定 Linux,b) 您的特定工具链,以及 c) 您的 strace 源。看看这篇文章:它应该让你指向正确的方向:jensd.be/800/linux/…。另见:strace.io
-
从
strace/strace目录,从git中检查出来,运行./bootstrap和./configure,然后make。 -
或者,根据README,
./configure && make && make install'。重要的是阅读 README ;) Keystone:请告诉我们进展如何。 -
自述文件是一个很好的资源 - 感谢您指出它 - 但并不完整。 git repo 没有 ./configure 文件;它需要使用 ./bootstrap 生成。 INSTALL 文件中提到了这一点。我用这种方式构建了 strace。
标签: github gcc makefile arm cross-compiling