交叉编译,为什么要"checking whether we are cross compiling... no"?



我正在尝试自己编译跨平台工具 -

当我编译Binutils-2.22时,它成功了,但是为什么要出现"检查我们是否在交叉编译...不"?我想应该是"是",对吗?

我的主机是i686运行ubuntu,我的目标是手臂。

~/telink_linux/build-tools/binutils-2.22$ ./configure --prefix=/home/shuaihan/telink_linux/tools --target=arm-linux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-linux-gnu
...
checking whether we are cross compiling... no
...
configure: creating ./config.status
config.status: creating Makefile

之后,我"制作"one_answers" makeinstall",创建了Arm-linux-*。

谢谢!

,因为您不是交叉编译的binutils;您正在编译交叉替代。如果您正在编译手臂binutils 在手臂上运行,或者如果您是在编译手臂binutils以在 third> third>第三平台上运行(既不是i686-linux也不是Arm-linux)消息会说"是"。

相关内容

最新更新