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

Matt Darcy lfs-list at projecthugo.co.uk
Tue Apr 11 02:04:06 PDT 2006


>>
> 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

Once you've booted into your 64bit temp system using the boot method, 
you can use the toolchain compiler that was built with your 
cross-compiler in the earlier chapter. There is no need to cross-compile.

Matt





More information about the cross-lfs mailing list