Gentoo Archives: gentoo-catalyst

From: "Cédric Caron" <ccaron@×××××××××.ch>
To: gentoo-catalyst@l.g.o
Subject: RE: [gentoo-catalyst] cross compilling for arm cpu
Date: Sun, 05 Aug 2012 00:02:52
Message-Id: 3f8101cd7289$d7d5a000$8780e000$@citycable.ch
In Reply to: Re: [gentoo-catalyst] cross compilling for arm cpu by Peter Stuge
1 > So what was your solution?
2
3 I user qemu-user to run the arm binary and distcc to use a native cross compiler.
4
5 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.
6
7 I used this solution to build a simple stage4 with x11 for my Raspberry Pi.
8
9 You also need to modify chroot-functions.sh to fix a problem in get_libdir(). For now I just hardcoded the returned value.
10 https://bugs.gentoo.org/show_bug.cgi?id=429626
11
12 > I don't think actively no.
13
14 My solution only requires copying 2 files and deleting them at the end. This should not be difficult to add.
15
16 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.
17
18 Cédric

Replies

Subject Author
Re: [gentoo-catalyst] cross compilling for arm cpu "Raúl Porcel" <armin76@g.o>