Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Konstantin Tokarev <annulen@...>
Subject: Re: Idea: external compilers in gcc-config
Date: Mon, 21 Mar 2011 16:37:13 +0300

21.03.2011, 16:28, "Fabian Groffen" <grobian@g.o>:
> On 21-03-2011 16:22:08 +0300, Konstantin Tokarev wrote:
>
>>  Hi all,
>>
>>  I think it would be great to have a possibility to select "external" gcc profiles in gcc-config:
>>  a) add "system" compiler if host system is shipped with decent gcc version;
>>  b) add compiler from another Prefix installation.
>>
>>  This feature would significantly speed up bootstrap of Prefix eliminating at least one build of
>>  gcc in Gentoo-friendly environments like Linux and Mac OS X, and give some additional
>>  flexibility in building of system.
>
> I bootstrapped on Fedora 14 last week by skipping all
> ./bootstrap-prefix.sh commands apart from tree and portage, and that
> worked fine.
>
> Skipping the emerge of compiler and linker is really going to cause
> trouble, since Gentoo Prefix uses modified versions that make sure all
> the tools from the Prefix are found.  This is an essential bit of Gentoo
> Prefix, that distinguishes it from all other solutions that are around,
> because it means you don't have to do anything special to make your
> libraries and tools being found, once you're in the Prefix environment.

Isn't it possible to workaround this problem without hardcoding search paths,
e.g. using -isystem and custom ld script when running portage?

(Dreaming about relocatable Prefix)

-- 
Regards,
Konstantin


Replies:
Re: Re: Idea: external compilers in gcc-config
-- Fabian Groffen
References:
Idea: external compilers in gcc-config
-- Konstantin Tokarev
Re: Idea: external compilers in gcc-config
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Idea: external compilers in gcc-config
Next by thread:
Re: Re: Idea: external compilers in gcc-config
Previous by date:
Re: Idea: external compilers in gcc-config
Next by date:
Re: Re: Idea: external compilers in gcc-config


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.