From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay1.mentorg.com ([192.94.38.131]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Odnlk-0006wR-1d for openembedded-devel@lists.openembedded.org; Tue, 27 Jul 2010 19:16:45 +0200 Received: from svr-orw-exc-08.mgc.mentorg.com ([147.34.98.97]) by relay1.mentorg.com with esmtp id 1OdnlQ-0003qr-Ev from Tom_Rini@mentor.com for openembedded-devel@lists.openembedded.org; Tue, 27 Jul 2010 10:16:24 -0700 Received: from na2-mail.mgc.mentorg.com ([134.86.114.213]) by SVR-ORW-EXC-08.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 Jul 2010 10:16:24 -0700 Received: from [172.30.80.63] ([172.30.80.63]) by na2-mail.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Jul 2010 11:16:23 -0600 Message-ID: <4C4F1463.5020804@mentor.com> Date: Tue, 27 Jul 2010 10:16:19 -0700 From: Tom Rini Organization: Mentor Graphics Corporation User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <1280174528-27682-1-git-send-email-raj.khem@gmail.com> <4C4E1332.9080804@mentor.com> In-Reply-To: X-OriginalArrivalTime: 27 Jul 2010 17:16:23.0280 (UTC) FILETIME=[700FC700:01CB2DAF] X-SA-Exim-Connect-IP: 192.94.38.131 X-SA-Exim-Mail-From: Tom_Rini@mentor.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH 0/7] Make multi-machine toolchains to co-exist (revised) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 17:16:45 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Khem Raj wrote: > On Mon, Jul 26, 2010 at 3:58 PM, Tom Rini wrote: >> Khem Raj wrote: >>> Hi >>> >>> Following series of patches are for making multi-machine toolchains >>> co-exist with >>> new cross staging for toolchain. >>> >>> It changes the toolchain triplet from ${TARGET_ARCH}-${VENDOR}-${OS} to >>> ${TARGET_ARCH}-${CPU_SUB_TARGET}_${VENDOR}-OS >>> >>> which means that a toolchain for armv7 is called >>> armi-v7a_oe-linux-gnueabi-* >>> and for armv5te its called arm-v5te_oe-linux-gnueabi-* >> Sorry to come in late here, but why can't we instead populate >> sysroot/../usr/bin/${MACHINE_SYS}/ and keep the old toolchain triplet? > > yes we can. it will create its own directory structure under > usr/bin/${MACHINE_SYS} and we also have to fix the accesses to tools > it uses probably some > other humps too I have not pursues this. > gcc install supports multiple installations to live together thats what > I am doing with these patches. If we just pass --bindir=${current stuff}/${MACHINE_SYS} that should be enough to move the binaries around and have all of the usual relative location stuff be calculated correctly. Can you please try this out? Thanks. -- Tom Rini Mentor Graphics Corporation