* Lee Revell:
All I am trying to do is compile an x86_64 kernel on
i386 machine. It
dos not work:
This a few helper scripts; building an AMD64 kernel on i386 is not
exactly cross-compiling. Basically, the helper scripts must invoke
"gcc -m64" when no -m32 option is given, and "gcc" if there's an
"-m32" option ("-m64 -m32" does *not* override the -m64). More magic
is required for objcopy, otherwise the compiled kernel will crash on
boot.
The Debian kernel package building infrastructure contains the
necessary scripts AFAIK.