Gentoo Archives: gentoo-alt

From: Elmar Hinz <oss.elmar@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] You too? youtoo!
Date: Wed, 18 Aug 2010 08:20:41
Message-Id: AANLkTi=P4G7Yo10f=n_tN38tYA_hw7C-SHA00tec-CJv@mail.gmail.com
In Reply to: Re: [gentoo-alt] You too? youtoo! by "Gibson
1 2010/8/18 Gibson, John <jgibson@×××××.org>:
2 > On Aug 17, 2010, at 2:24 PM, Florian CROUZAT wrote:
3 >
4 >> -----BEGIN PGP SIGNED MESSAGE-----
5 >> Hash: SHA1
6 >>
7 >>
8 >> I'm not sure I understood your questions correctly, because you are basically describing the prefix project and calling it "a new idea" ?
9 >
10 > He wants to have a single prefix, or more realistically, a collection of prefixes for different platforms built from one platform with a single command.  i.e. On my Mac I'd have several different prefixes, for brevity say:
11 > /x86-macos
12 > /amd64-macos
13 > /ppc-macos
14 > /linux-x86_64
15 > /windows
16 > etc.
17 >
18 > Then I could issue a command like: "yootoo gedit" and it would emerge gedit (and all of the dependencies) into /x86-macos (what gentoo-prefix does now).  Then it would emerge gedit (and all of the dependencies, which I'd guess are different for different host platforms) for each of the other prefixes (probably using a cross-compiler) so that the resulting binaries could be run on other systems.
19 >
20 > Unless cross-compilers support in portage has improved since the last time I checked (admittedly, a couple of years ago) this is not trivial.
21 >
22 > John
23
24 That comes much closer. But my approach was, not to cross-compile it
25 all. It's rather to compile directly on the target machines including
26 windows.
27
28 From the windows user point of view I want to come to a small setup
29 skript, that fetches all from the net, then compiles and runs it until
30 gedit pops up, in our example.
31
32 First it downloads a Posix environment, then a minimal Gentoo base
33 including a compiler. Than it can starts compiling using emerge and
34 prefix. By this cross-compilation would not be necessary for all, but
35 only for the minimal startup base.
36
37 I don't know the exact steps and time such a skript would need. Before
38 digging deeper into it, I wanted to know if it is possible at all and
39 if that kind of skript already exists.
40
41 Al

Replies

Subject Author
Re: [gentoo-alt] You too? youtoo! Michael Haubenwallner <haubi@g.o>