Re: [ot]Can I compile a kernel for a P2?
On Fri, Apr 22, 2005 at 03:53:46PM +0200, Oliver Korpilla wrote:
> Yes, you can, but if you want to compile a 32-bit kernel I guess you
> either have to...
>
> * build a cross-compilation toolchain x86_64 -> x86 and use that with
> the CROSS_COMPILE and ARCH variables set (see crosstool, the gcc
> cross-compilation script for this)
> * create a 32-bit chroot, install a base system and the kernelpackage
> packages in it, and compile a kernel within as you would normally.
That second option still requires forcing ARCH to i386 when configuring
and building the kernel since uname -m will still return x86_84. So no
matter what you still need a small part of a cross compile step.
Len Sorensen
Reply to: