Re: Cross-compiling kernels
Marco Amadori <email@example.com> writes:
> Alle 20:13, lunedì 31 gennaio 2005, hai scritto:
>> Marco Amadori <firstname.lastname@example.org> writes:
>> > Hi all ,
>> > I would like to compile kernels and modules with make-kpkg on my athlon64
>> > box.
> I missed to tell that I would like to compile it for i386, on a pure64 system.
>> > I need to just pass the right --arch options to make-kpkg or should I
>> > install and configure other pieces of software?
>> Read the kernel-image-amd64 source. It's more complex.
> Anyway, I did not understood your reply.
> Marco Amadori
The kernel-image-amd64 package (cross)compiles a 64bit kernel on
i386. To compile a 32bit kernel on 64bit you have to do the same
except reverse the -m switch.
PS: The simplest way to compile a 32bit kernel on pure64 is still to
create a 32bit chroot.