From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-14002-arch-gentoo-dev=gentoo.org@lists.gentoo.org>
Received: (qmail 15551 invoked from network); 10 Jul 2004 22:32:50 +0000
Received: from smtp.gentoo.org (156.56.111.197)
  by lists.gentoo.org with AES256-SHA encrypted SMTP; 10 Jul 2004 22:32:50 +0000
Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org)
	by smtp.gentoo.org with esmtp (Exim 4.34)
	id 1BjQOn-0000kO-5F
	for arch-gentoo-dev@lists.gentoo.org; Sat, 10 Jul 2004 22:32:49 +0000
Received: (qmail 5207 invoked by uid 89); 10 Jul 2004 22:32:48 +0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 26557 invoked from network); 10 Jul 2004 22:32:48 +0000
Message-ID: <40F06EBA.1040806@gentoo.org>
Date: Sat, 10 Jul 2004 15:33:30 -0700
From: Jeremy Huddleston <eradicator@gentoo.org>
User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  gentoo-dev@lists.gentoo.org,  kumba@gentoo.org,  lisa@gentoo.org
References: <40EF480F.3070301@gentoo.org> <1089491936.20191.214.camel@lisa.thedoh.com>
In-Reply-To: <1089491936.20191.214.camel@lisa.thedoh.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [gentoo-dev] crossdev, distcc, and multiple toolchains... (was New global USE:
 crossdev)
X-Archives-Salt: e60cb1db-8e16-47a2-845e-751bbdefe75c
X-Archives-Hash: 9c2122110c9bf88ccaf5fc89395ffac2

I'm all for the crossdev USE flag...  I think there's a lot we can do 
with it for moving away from crossdev towards a crosscompilation 
toolchain straight out of portage...

First of all, I think we should have a binutils-config package similar 
to gcc-config so we can switch between different toolchains...  then we 
can put the gcc-config and binutils-config options into 
/etc/{init,conf}.d/distcc

Additionally, it would be nice if the gcc (and in the future, binutils) 
profiles had the complete gentoo version string for the profile name:
x86_64-pc-linux-gnu-3.4.0-r6 instead of x86_64-pc-linux-gnu-3.4.0.

Can SLOT be dynamically set yet based on use flags?  IIRC, something 
like the following isn't allowed because we're not supposed to have code 
in the global section of an ebuild:

if use crossdev; then
	SLOT="${PV}-${CTARGET}"
else
	SLOT="${PV}"
fi

solar caught me commenting about crossdev stuff in #-dev earlier today, 
and it looks like I volunteered to help at putting all this together...

Does anyone have any suggestions about this?

Lisa Seelye wrote:

> On Fri, 2004-07-09 at 21:36, Kumba wrote:
> 
>>Said USE Flag would mostly be applicable to gcc, glibc, and binutils. 
>>Possibly kernel-headers too, if needed.
>>
>>Any objections?
> 
> 
> Sounds like a good idea.  I can see this being used in conjunction with
> distcc for crosscompiling somewhere down the line.
> 


--
gentoo-dev@gentoo.org mailing list