[OE-core] [PATCH] Introduce biarch DISTRO_FEATURE

McClintock Matthew-B29882 B29882 at freescale.com
Wed Oct 26 02:09:36 UTC 2011


On Mon, Oct 24, 2011 at 8:18 PM, Julian Pidancet
<julian.pidancet at gmail.com> wrote:
> This patch introduces a distro feature which enables gcc to produce
> both 32bit and 64bit code, and enables binutils to operate on both
> 32bit and 64bit binaries. It differs from multilib toolchains in
> that it does not require to compile a version of the libc for each
> architecture variant. However, the code produced for the secondary
> architecture will not be linkable against the libc.
>
> This patch only works with x86 and x86_64 architectures, but can
> probably be extended to support other architectures as well.
>
> One use-case would be when one wants to compile a system which runs
> 32bit userspace applications with a 64bit kernel without having to
> deal with two separate libc.

What happens with the native gcc on the root file system. And what
about meta-toolchain? Any effect?

Thanks,
Matthew




More information about the Openembedded-core mailing list