64bit Kernel with 32bit Userspace

Required Utilities:

Gentoo provides a nice utility: crossdev for this. Under gentoo, installing the required utilities is as easy as:

crossdev -s1 --target x86_64-pc-linux-gnu

I don't have the know-how to provide detailed cross compiler instructions... try here:

http://linux.bytesex.org/cross-compiler.html

With a full cross compiler suite available, to configure your 64bit kernel you'd do:

alias kmake="make ARCH=x86_64 CROSS_COMPILE=x86_64-pc-linux-gnu-"
kmake menuconfig
kmake
kmake modules_install

after that, just install the kernel, and reboot (with your fingers crossed, haha).

Other/64bitkernel32bituserspace (last edited 2010-04-14 17:10:27 by PatErley)