Gentoo Archives: gentoo-alt

From: Jason Cooper <gentoo@××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Crossdev in a prefix / bug 384167
Date: Tue, 11 Jun 2013 19:08:19
Message-Id: 20130611190813.GT23859@titan.lakedaemon.net
In Reply to: Re: [gentoo-alt] Crossdev in a prefix / bug 384167 by Greg Turner
1 On Mon, Jun 10, 2013 at 01:57:21PM -0700, Greg Turner wrote:
2 > On Mon, Jun 10, 2013 at 1:04 PM, Jason Cooper <gentoo@××××××××××.net> wrote:
3 > > Sorry, resending for the list. forgot to swap aliases...
4 > >
5 > > On Mon, Jun 10, 2013 at 12:27:59PM -0700, Greg Turner wrote:
6 > >> On Mon, Jun 10, 2013 at 4:16 AM, Jason Cooper <gentoo@××××××××××.net> wrote:
7 > >> > On Mon, Jun 10, 2013 at 03:17:44AM -0700, gmt@×××××.us wrote:
8 > >> > > I have crossdev starting to work in a prefix, via an overlay.
9 > >> [snip]
10 > >> > I'd be particularly interested on building arm and powerpc toolchains on
11 > >> > OSX.
12 > >>
13 > >> Most likely these will require additional patching to sys-libs/uclibc
14 > >> or whatever ELIBC corresponds to your particular targets/ARCH's of
15 > >> interest. Indeed, a quick test of crossdev
16 > >> =cross-arm-linux-uclibc/uclibc-0.9.33.2-r4 confirms this ("Aborting
17 > >> due to QA concerns: there are files installed outside the prefix").
18 > >
19 > > The C library isn't that critical to me, but it would eventually be
20 > > useful. On my gentoo system I currently have
21 > >
22 > > arm-none-linux-gnueabi
23 > > powerpc-none-linux-gnueabi
24 > > i586-pc-linux-gnu
25 >
26 > Unfortunately the libc ebuild is a semi-required part of the crossdev
27 > build process, which makes sense when you consider that the gcc build
28 > system needs to know how to link, i.e., libstdc++.a.
29
30 I'm referring to the crossdev options -s0 and -s1. If we can get that
31 far, that's usable for me. Anything after that is gravy.
32
33 > > I'd previously tried to do gentoo prefix on my macbook air as a
34 > > replacement for macports and to get crossdev. Didn't work out so well.
35 > > :-/
36 >
37 > Well you know what they say, 3333rd time's the charm :)
38
39 I have patience and desire. I do _not_ have the luxury of time ;-)
40
41 thx,
42
43 Jason.