Question

I'm trying to compile cross-platform tools-chain by myself.

When I compiled binutils-2.22, it success but why appear "checking whether we are cross compiling... no"? I suppose it should be "yes", right?

My host is i686 running ubuntu, and my target is arm.

~/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

After this, I "make"and"makeinstall", the arm-linux-* are created.

Thanks!

Était-ce utile?

La solution

Because you're not cross-compiling binutils; you're compiling cross-binutils. If you were compiling ARM binutils to run on ARM, or if you were compiling ARM binutils to run on a third platform (neither i686-linux nor arm-linux) then that message would say "yes".

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top