On 08/04/12 23:41, Cédric Caron wrote:
So what was your solution?
I user qemu-user to run the arm binary and distcc to use a native cross
compiler.
The only problem is making chroot working with arm binary. The solution is to
copy /usr/bin/qemu-static-arm and /usr/bin/qemu-static-arm-binfmt in the chroot
directory.
I used this solution to build a simple stage4 with x11 for my Raspberry Pi.
You also need to modify chroot-functions.sh to fix a problem in get_libdir().
For now I just hardcoded the returned value.
https://bugs.gentoo.org/show_bug.cgi?id=429626
I don't think actively no.
My solution only requires copying 2 files and deleting them at the end. This
should not be difficult to add.
I can add a new option in catalyst to make this possible but I will need some
help to do it properly. I never programed in python and my knowledge in bash is
limited.
Cédric
Using qemu is not really crosscompiling, IMHO...although i agree its easier.