[yocto] External toolchains

Nikolay Dimitrov picmaster at mail.bg
Tue Jul 7 12:19:28 PDT 2015


Hi Luke,

On 07/07/2015 08:35 PM, Luke (Lucas) Starrett wrote:
> Hi,
>
> For various reasons, we have a need to work with pre-compiled external
> toolchains, in this case, the 2014-09 Linaro aarch64 release.  A key
> difference between this specific toolchain vs. the Fido/1.8 out of the
> box toolchain (4.9.2 + patches?), is that the Linaro version is built
> with --enable-multiarch.  We end up with applications built with search
> paths such as /lib/aarch64, /usr/lib/aarch64, etc,  but libraries
> installed in the normal /lib, /usr/lib paths.  Obviously if we use the
> built-in toolchain recipes in 1.8, life is good, search paths match
> install paths.
>
> I wanted to understand a couple points.
>
> 1)What are the long term goals/roadmap are in this area specific to
> Yocto/OE?
>
> 2)Where is the “right” place to deal with this?
>
> a.Configure (based on detected toolchain capability)
>
> b.Install (override library destination?)
>
> c.Other?

Is it possible for you to use ld.so.conf to point to the proper library
paths?

> 3)Any other examples that can be used as a reference?
>
>
> I’ve seen a few emails in the archives that seem to touch on this, but
> none that really seemed to come to any conclusion.
>
> Thanks,
>
> Luke Starrett

Regards,
Nikolay



More information about the yocto mailing list