用于交叉编译的`./configure`选项?
据我所知,./configure
脚本是用GNU Autoconf
生成的。我根本不了解Autoconf
。这些工具如何工作,如何使用这个 ./configure
脚本来制作源代码以进行交叉编译?
As far as I know, ./configure
script is generated with GNU Autoconf
. I don't know about Autoconf
at all. How do these tools work, and how can I use this ./configure
script to make source to cross-compile?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一篇关于如何交叉编译的非常好的小文章: http://linux.bytesex .org/cross-compiler.html。
交叉编译的主要部分是设置编译器的配置标志以指向目标体系结构和平台:
这可能已经过时(修改了该文章的复制和粘贴),但相同的概念仍然适用。
This is a pretty good little article to read on how to cross-compile: http://linux.bytesex.org/cross-compiler.html.
The main part in cross-compiling is setting the configure flags for the compiler to poinst to the target architecture and platform:
This might be outdated (modified copy & paste from that article), but the same concept still applies.