Arch linux cross-compilation adventures
I wanted to get a kernel with CAN support onto my netbook. The netbook is an i686 machine with a 1.6GHz atom CPU. Compiling a kernel on it takes a few hours. So my goal instead was to compile it on my beefy 8-core desktop machine.
So off I set with a kernel in my awesomebar, leading me to the Kernel Compilation via Arch Build System page. So far so good. I screwed around with that a bit and produced a lot of x64 kernels.
After a while I also found distcc and from there 32-bit chroot.
From there on it’s a piece of cake, except for
- Edit
/etc/pacman.confand setArchitecture = i686 - Edit
/etc/makepkg.confto get proper makeflags (dat-j8) - After installing the new kernel, make sure to disable
/etc/grub/10_linux.conf- see the big red warning in Grub mkconfig guide

