Gentoo Archives: gentoo-catalyst

From: "Raúl Porcel" <armin76@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] cross compilling for arm cpu
Date: Sun, 05 Aug 2012 18:02:33
Message-Id: 501E9189.5070407@gentoo.org
In Reply to: RE: [gentoo-catalyst] cross compilling for arm cpu by "Cédric Caron"
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.

Replies

Subject Author
RE: [gentoo-catalyst] cross compilling for arm cpu "Cédric Caron" <ccaron@×××××××××.ch>