1 |
On 08/04/12 23:41, Cédric Caron wrote: |
2 |
>> So what was your solution? |
3 |
> |
4 |
> I user qemu-user to run the arm binary and distcc to use a native cross compiler. |
5 |
> |
6 |
> 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. |
7 |
> |
8 |
> I used this solution to build a simple stage4 with x11 for my Raspberry Pi. |
9 |
> |
10 |
> You also need to modify chroot-functions.sh to fix a problem in get_libdir(). For now I just hardcoded the returned value. |
11 |
> https://bugs.gentoo.org/show_bug.cgi?id=429626 |
12 |
> |
13 |
>> I don't think actively no. |
14 |
> |
15 |
> My solution only requires copying 2 files and deleting them at the end. This should not be difficult to add. |
16 |
> |
17 |
> 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. |
18 |
> |
19 |
> Cédric |
20 |
> |
21 |
> |
22 |
|
23 |
Using qemu is not really crosscompiling, IMHO...although i agree its easier. |