我正在尝试交叉编译一些使用 automake
和 ./configure
的库,但我无法让它们与我的工具链一起工作。我正在设置 --host
和 --build
标志(可能不正确)以及 CC
、CPP
、CXX
和 CXXCPP
环境变量。
我在 ./configure
的输出中看到它正确地选择了我的工具链编译器。我还在输出中看到了这些行:
checking for i686-linux-objdump... no
checking for objdump... objdump
<...>
checking for i686-linux-strip... strip
checking for i686-linux-ranlib... no
./configure
是否使用 objdump
的本地主机副本?它是否在名称为 i686-linux-strip
的工具链中正确找到了 strip
?
最佳答案
Is ./configure using the local hostmachine copy of objdump?
显然。
Is it correctly finding strip in the toolchain under the name i686-linux-strip?
是的。
关于linux - 通过工具链使用 automake 和 configure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20713816/