简体   繁体   English

使用自动制作并通过工具链进行配置

[英]Using automake and configure with a toolchain

I'm trying to cross-compile some libraries which use automake and ./configure but I can't get them working with my toolchain. 我正在尝试交叉编译一些使用automake./configure库,但无法使它们与我的工具链一起使用。 I am setting the --host and --build flags (possibly incorrectly) and also the CC , CPP , CXX , and CXXCPP environment variables. 我正在设置--host--build标志(可能设置有误),还设置了CCCPPCXXCXXCPP环境变量。

I see in the output of ./configure that it's correctly picking up my toolchain compiler. 我在./configure的输出中看到它正确地安装了我的工具链编译器。 I also see these lines in the output: 我还在输出中看到这些行:

checking for i686-linux-objdump... no
checking for objdump... objdump
<...>
checking for i686-linux-strip... strip
checking for i686-linux-ranlib... no

Is ./configure using the local hostmachine copy of objdump ? ./configure是否使用objdump的本地主机副本? Is it correctly finding strip in the toolchain under the name i686-linux-strip ? 难道是正确找到strip在名称下的工具链i686-linux-strip

Is ./configure using the local hostmachine copy of objdump? ./configure是否使用objdump的本地主机副本?

Apparently. 显然。

Is it correctly finding strip in the toolchain under the name i686-linux-strip? 是否可以在工具链中以i686-linux-strip名称正确找到条形图?

Yes. 是。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM