Is it possible to build more packages with cross compilation in the native chroot?
Created by: zhuowei
Currently pmbootstrap builds all packages with qemu user mode emulation except for the Linux kernels. This is slower than building with a cross compiler, as one has to emulate the build system using qemu even if the compiles themselves are done with distcc, and distcc frequently fails.
abuild supports cross building if there is a cross compiler and a sysroot, and if the build system itself supports cross building (autotools and cmake are common build systems that do support cross compiles). Could we try enabling cross compile for normal packages? We already have a sysroot (our target chroot), and we already have the cross compilers for building the kernels. How can I help integrate this?