Building the x86_64 Kernel

Now build a linux-2.4.23 kernel using the new cross compiler.

First, ensure that the new cross compiler is in your path. You want x86_64-unknown-linux-gcc to be in the path, so you would do something like this:
export PATH=/opt/x86-64/bin:$PATH

Now expand the kernel source, make mrproper, then edit Makefile. There are two changes that must be made:

Now run make menuconfig, or use whatever utility you prefer to configure the kernel. Since you do not have a x86-64 modutils at this time, you can not build a modular kernel. You will only be using this kernel temporarily so it can be a fairly minimalistic configuration, but of course be sure to include the file systems in your host system as well as any you will be using in the new system. Be sure to enable IA32 emulation, or you will not be able to run your host system. The kernel image will be arch/x86_64/boot/bzImage.

Build the kernel and install it using the host system's boot loader. Now reboot and use the new kernel

Next: building the temporary build system.