Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Idea: external compilers in gcc-config
Date: Mon, 21 Mar 2011 13:28:22
Message-Id: 20110321132804.GQ72718@gentoo.org
In Reply to: [gentoo-alt] Idea: external compilers in gcc-config by Konstantin Tokarev
1 On 21-03-2011 16:22:08 +0300, Konstantin Tokarev wrote:
2 > Hi all,
3 >
4 > I think it would be great to have a possibility to select "external" gcc profiles in gcc-config:
5 > a) add "system" compiler if host system is shipped with decent gcc version;
6 > b) add compiler from another Prefix installation.
7 >
8 > This feature would significantly speed up bootstrap of Prefix eliminating at least one build of
9 > gcc in Gentoo-friendly environments like Linux and Mac OS X, and give some additional
10 > flexibility in building of system.
11
12 I bootstrapped on Fedora 14 last week by skipping all
13 ./bootstrap-prefix.sh commands apart from tree and portage, and that
14 worked fine.
15
16 Skipping the emerge of compiler and linker is really going to cause
17 trouble, since Gentoo Prefix uses modified versions that make sure all
18 the tools from the Prefix are found. This is an essential bit of Gentoo
19 Prefix, that distinguishes it from all other solutions that are around,
20 because it means you don't have to do anything special to make your
21 libraries and tools being found, once you're in the Prefix environment.
22
23
24
25 --
26 Fabian Groffen
27 Gentoo on a different level

Replies

Subject Author
[gentoo-alt] Re: Idea: external compilers in gcc-config Konstantin Tokarev <annulen@××××××.ru>