[OE-core] [PATCH] Introduce biarch DISTRO_FEATURE

McClintock Matthew-B29882 B29882 at freescale.com
Tue Nov 8 19:50:01 UTC 2011


On Mon, Nov 7, 2011 at 5:14 PM, Julian Pidancet
<julian.pidancet at gmail.com> wrote:
> Hi Matthew, sorry for the late answer.
>
> I'm affraid I don't quite see what you mean by "the native gcc on the
> root file system". Are you refering to the version of GCC present on
> the build machine and built by OE ? Or are you refering instead about
> a potential version of GCC running on the target ?
>
> This patch should only make gcc-cross, and gcc running on the target
> "biarch". It would also probably make sense to build a biarch GCC in
> the meta-toolchain case.

This is what I was referring too... cross gcc in /opt/poky/ that can
build for multiple targets...

> To be honest, I have not really considered the meta-toolchain case as
> I've never used it before and not quite sure how it works.

It just builds an installable tarball with the toolchain components
and some other nativesdk components.

> I can respin a patch to handle the meta-toolchain case. But in the
> mean-time, it would be nice if I could get an opinion on wether this
> "biarch" feature is a good idea or not, or, if not, maybe some
> suggestions about how to address this specific 32bit/64bit use-case
> differently.

Can't really comment on your patch... but I know it would be nice to
generate a cross gcc that supports more than just the target yocto is
building for at the time. For instance, build support for all powerpc
or all x86 targets poky could possibly build for when building
meta-toolchain....

-M




More information about the Openembedded-core mailing list