generic-poky/meta/recipes-devtools/gcc
Julian Pidancet 7edf5cff9c Introduce multiarch DISTRO_FEATURE
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.

v2: - Renamed the feature name from "biarch" to "multiarch". The GCC
installation manual claims that the mips-linux can be made a tri-arch
compiler (http://gcc.gnu.org/install/configure.html)
    - For x86_64, the compiler is made bi-arch by default, so nothing
has to be done in particular.
    - I analyzed the gcc/config.gcc from GCC sources and added in this
patch all the architectures that could be made biarch with the version
of gcc currently used in OE, which are powerpc, and sparc, in addition
to x86. mips and s390 will probably be supported in future versions of
gcc. For x86 and sparc, only the --enable-targets=all option is valid
to make this work (this option doesn't have any other side effects than
making the compiler bi-arch). For powerpc, I used the
--enable-targets=powerpc64 option (although 'all' also works).

Note: - Untested on powerpc and sparc. But I believe it works the same
as with x86.
      - gcc in meta-toolchain is also made multiarch.

(From OE-Core rev: 99e295ef30ba02db3966c66619807c037ef5089f)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-29 11:22:06 +00:00
..
gcc-4.6 gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a 2011-11-21 16:55:12 +00:00
gcc-csl-arm gcc: remove unused patches and move patches in proper dir 2011-05-18 14:32:47 +01:00
gcc-4.6.inc gcc-package-target.inc: add the symbol link /lib/cpp 2011-11-24 23:33:35 +00:00
gcc-common.inc Introduce multiarch DISTRO_FEATURE 2011-11-29 11:22:06 +00:00
gcc-configure-common.inc Introduce multiarch DISTRO_FEATURE 2011-11-29 11:22:06 +00:00
gcc-configure-cross.inc gcc/binutils: Disable NLS/gettext dependencies 2011-10-10 10:00:07 +01:00
gcc-configure-runtime.inc gcc: Fix file ownership 2011-06-28 13:55:40 +01:00
gcc-configure-sdk.inc gcc-configure-sdk: Point sysroot to correct location 2011-10-24 17:27:13 +01:00
gcc-configure-target.inc gcc: Fix c++ search path for target system compiler making everything consistent 2010-10-07 11:06:32 +01:00
gcc-cross-canadian.inc Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH. 2010-12-10 15:36:48 +00:00
gcc-cross-canadian_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-initial.inc gcc/binutils: Disable NLS/gettext dependencies 2011-10-10 10:00:07 +01:00
gcc-cross-initial_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-initial_csl-arm-2008q1.bb Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
gcc-cross-intermediate.inc gcc/binutils: Disable NLS/gettext dependencies 2011-10-10 10:00:07 +01:00
gcc-cross-intermediate_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-intermediate_csl-arm-2008q1.bb Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
gcc-cross-kernel.inc gcc-cross-kernel: update to match new toolchain sysroot layout 2011-06-28 15:06:53 +01:00
gcc-cross.inc Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
gcc-cross4.inc gcc-4.6: fix toolchain build for SH4 2011-11-16 17:32:45 +00:00
gcc-cross_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross_csl-arm-2008q1.bb gcc: Various fixups to ensure consistent gcc builds 2011-08-11 19:08:02 +01:00
gcc-crosssdk-initial.inc gcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross different gcc versions causing build failures 2010-09-06 22:55:49 +01:00
gcc-crosssdk-initial_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-crosssdk-intermediate.inc gcc: fix possible problems with nscd compilation during eglibc-nativesdk build 2011-09-28 14:58:48 +01:00
gcc-crosssdk-intermediate_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-crosssdk.inc Share gcc work directories 2011-06-30 20:56:33 +01:00
gcc-crosssdk_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-csl-arm-2005q3.inc recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
gcc-csl-arm-2008q1.inc recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
gcc-package-cross.inc gcc-package-cross: Switch to using pattern matching to detect when to stash libgcc into the sysroot 2011-07-05 11:39:09 +01:00
gcc-package-runtime.inc gcc-runtime: fix installed but unpackaged files 2011-07-08 16:39:10 +01:00
gcc-package-sdk.inc gcc: Fix two QA issues 2011-09-28 14:58:49 +01:00
gcc-package-target.inc gcc-package-target.inc: add the symbol link /lib/cpp 2011-11-24 23:33:35 +00:00
gcc-runtime_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc_csl-arm-2008q1.bb gcc: Various fixups to ensure consistent gcc builds 2011-08-11 19:08:02 +01:00
libgcc_4.6.bb gcc: include libgcov.a into libgcc-dev package 2011-09-28 14:58:48 +01:00