Re: cross-compiling with different bitness

François Perrad wrote:
> but it fails with i386 as host & x86_64 as target
> (the package gcc-multilib (lib64) is installed)
> $ make HOST_CC="gcc -m64" CROSS="x86_64-unknown-linux-uclibc-"

Errm ... an x86 kernel cannot execute x64 binaries.

And, yes, you need to be able to run a 64 bit binary to build for
a 64 bit target.


Other related posts: