1 |
21.03.2011, 16:28, "Fabian Groffen" <grobian@g.o>: |
2 |
> On 21-03-2011 16:22:08 +0300, Konstantin Tokarev wrote: |
3 |
> |
4 |
>> šHi all, |
5 |
>> |
6 |
>> šI think it would be great to have a possibility to select "external" gcc profiles in gcc-config: |
7 |
>> ša) add "system" compiler if host system is shipped with decent gcc version; |
8 |
>> šb) add compiler from another Prefix installation. |
9 |
>> |
10 |
>> šThis feature would significantly speed up bootstrap of Prefix eliminating at least one build of |
11 |
>> šgcc in Gentoo-friendly environments like Linux and Mac OS X, and give some additional |
12 |
>> šflexibility in building of system. |
13 |
> |
14 |
> I bootstrapped on Fedora 14 last week by skipping all |
15 |
> ./bootstrap-prefix.sh commands apart from tree and portage, and that |
16 |
> worked fine. |
17 |
> |
18 |
> Skipping the emerge of compiler and linker is really going to cause |
19 |
> trouble, since Gentoo Prefix uses modified versions that make sure all |
20 |
> the tools from the Prefix are found. šThis is an essential bit of Gentoo |
21 |
> Prefix, that distinguishes it from all other solutions that are around, |
22 |
> because it means you don't have to do anything special to make your |
23 |
> libraries and tools being found, once you're in the Prefix environment. |
24 |
|
25 |
Isn't it possible to workaround this problem without hardcoding search paths, |
26 |
e.g. using -isystem and custom ld script when running portage? |
27 |
|
28 |
(Dreaming about relocatable Prefix) |
29 |
|
30 |
-- |
31 |
Regards, |
32 |
Konstantin |