linux - 通过工具链使用 automake 和 configure

标签 linux compilation cross-compiling configure automake

我正在尝试交叉编译一些使用 automake./configure 的库,但我无法让它们与我的工具链一起工作。我正在设置 --host--build 标志(可能不正确)以及 CCCPPCXXCXXCPP 环境变量。

我在 ./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/

相关文章:

compilation - 编译 lua 脚本 (*.exe) 的最简单方法...?

c# - 从 Windows 到 Linux 构建 C# 应用程序

linux - 是否有适用于 Linux 的 Clang mingw 交叉编译器

linux - 我什么时候应该输入 ./来运行程序,什么时候不应该?

Linux dma 驱动 dma_cap_set,dma_cap_zero

c++ - Linux C++ LD_LIBRARY_PATH 抑制标准库

c - GCC_NO_EXECUTABLES ---交叉编译工具链后不允许进行链接测试

linux - 拆分文件内容并存储到数组中或通过分隔符遍历文件内容

c++ - c/c++ 集成和编译 - 未解析的外部符号,即使已定义

c - 隐式头包含在 C 中