[oe] [PATCH 0/7] Make multi-machine toolchains to co-exist (revised)

Tom Rini tom_rini at mentor.com
Tue Jul 27 17:16:19 UTC 2010


Khem Raj wrote:
> On Mon, Jul 26, 2010 at 3:58 PM, Tom Rini <tom_rini at mentor.com> 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




More information about the Openembedded-devel mailing list