chroot or re-boot on 32 cross-lfs for AMD 64.

Peter Fosseus peter at
Tue Apr 11 06:10:50 PDT 2006

On Tuesday 11 April 2006 10:48, Jeremy Utley wrote:
> On 4/11/06, Peter Fosseus <peter at> wrote:
> > Hi,
> >
> > To compile a 64bit kernel, I assume I use my shiny new 64bit
> > cross-compiler, following the instructions in "7.11. Linux-",
> > reboot with this new kernel, then chroot ?
> >
> > -pete
> Honestly, I don't *THINK* it will be necessary to use a cross-compiler
> to build a 64-bit kernel, but then again, I've never personally built
> a kernel on a system that wasn't already 64-bit capable - perhaps Ryan
> or Matt could speak up more on this.  But, the kernel compilation is
> pretty well self-contained, not requiring anything else to complete
> properly, and therefore it may very well be possible to use a 32-bit
> GCC.  But, you could of course use your shiny new Cross-GCC to build
> the kernel using make ARCH=x86_64 menuconfig and so on.
> HTH,
> Jeremy

It seems to have worked, I built a monolithic kernel using "7.11. 
Linux-" and the gcc-64.

# uname -a
Linux lfs #1 PREEMPT Tue Apr 11 09:41:42 UTC 2006 x86_64 AuthenticAMD 
unknown GNU/Linux

Am I now, safely, able to use the chroot method to continue?


More information about the cross-lfs mailing list