You are not logged in.
I've got a pretty fast laptop running arch64. I've also got an old PIII I've been using as a router. I normally run a custom kernel on the PIII. I was wondering if it's possible to makepkg the kernel on my new x64 machine for an x86 machine.
-=[dave]=-
Offline
Get yourself a chroot with arch32 in it. There should be some stuff about it in the wiki. With that you can compile anything for i686, including the kernel.
Offline
I have tried this though I may have done something wrong. I've (mostly) stayed faithful to the instructions here:http://wiki.archlinux.org/index.php/Arc … bit_system
When I do a makepkg to make the kernel in the chroot environment I get:
arch/x86/kernel/asm-offsets.c:1: error: code model 'kernel' not supported in the 32 bit mode
arch/x86/kernel/asm-offsets.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
-=[dave]=-
Offline
ah, you have to use linux32 (is that missing in the howto)? Just do 'linux32 chroot' instead of 'chroot' or 'linux32 dchroot' if you use dchroot.
Offline
EXACTLY RIGHT!!! Thank you good sir.
-=[dave]=-
Offline