From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tim.rpsys.net (93-97-173-237.zone5.bethere.co.uk [93.97.173.237]) by mx1.pokylinux.org (Postfix) with ESMTP id 845744C800A9 for ; Wed, 3 Aug 2011 10:13:04 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p73FCwMm026176; Wed, 3 Aug 2011 16:12:58 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25157-07; Wed, 3 Aug 2011 16:12:54 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p73FCk46026170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Aug 2011 16:12:49 +0100 From: Richard Purdie To: Kumar Gala In-Reply-To: <6A516D77-2A23-4163-BF82-2E05D67AC50D@kernel.crashing.org> References: <41DEA4B02DBDEF40A0F3B6D0DDB1237913700F07@ORSMSX101.amr.corp.intel.com> <39D3DACD-5A1F-4992-BB52-C581EAD4B17C@kernel.crashing.org> <1312381376.2344.671.camel@rex> <6A516D77-2A23-4163-BF82-2E05D67AC50D@kernel.crashing.org> Date: Wed, 03 Aug 2011 16:12:29 +0100 Message-ID: <1312384349.2344.677.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Cc: "'yocto@yoctoproject.org'" Subject: Re: examples / docs on utilizing an external toolchain X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 15:13:04 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote: > On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote: > > > On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote: > >> Bug submitted: > >> > >> http://bugzilla.pokylinux.org/show_bug.cgi?id=1323 > >> > >> My question still stands even w/o it being in formal docs. > > > > FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. > > I'd be interested to know where we've missed the references to it and > > get to get those references fixed. > > Ok, but how does one use TCMODE? :) > > is there an example around anywhere? I'll explain on the condition that someone actually documents this ;-). TCMODE determines which of the files in meta/conf/distro/include/tcmode-* is used. It defaults to "default" and our default toolchain definition is in tcmode-default.inc. There is another example there which is "external-csl2008q3". As you can see from the tcmode-external-csl2008q3 file, it sets up the system to use an external toolchain instead. So you can define one of these files in your layer and then the system can select alternative toolchain configurations. Does that help? :) There is a similar TCLIBC variable which controls which libc is used (eglibc or uclibc). Cheers, Richard