generic-poky/meta/recipes-devtools/gcc
Constantin Musca 703b70c98a gcc: enable multilib for target gcc
- add a task to setup multilib configuration for target gcc
- this commit adapts Nitin Kamble's work to gcc 4.7
- use a hash for storing arch-dependent multilib options
- patch gcc in order to use the multilib config files from the
build directory

Tests:
root@qemux86-64:~# gcc -m64 t.c -o t
root@qemux86-64:~# file t
t: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
root@qemux86-64:~# ./t
Hello World !
root@qemux86-64:~# gcc -m32 t.c -o t
root@qemux86-64:~# file t
t: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
root@qemux86-64:~# ./t
Hello World !

[YOCTO #1369]

(From OE-Core rev: b26819c85881e82ee1b5c68840011e78c321f18e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01 15:54:31 +00:00
..
gcc-4.7 gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-4.7.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-common.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-configure-common.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-configure-cross.inc gcc-configure-sdk, gcc-configure-cross: Dont recompute USE_NLS 2012-06-29 13:30:58 +01:00
gcc-configure-runtime.inc gcc-configure-runtime: always remove info/dir 2013-01-27 13:53:34 +00:00
gcc-configure-sdk.inc gcc-configure-sdk, gcc-configure-cross: Dont recompute USE_NLS 2012-06-29 13:30:58 +01:00
gcc-configure-target.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-cross-canadian.inc gcc-cross-canadian.inc: Add dependency on cross-gcc 2012-12-19 17:55:01 +00:00
gcc-cross-canadian_4.7.bb nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
gcc-cross-initial.inc classes: Be consistent about sstate-inputdirs/outputdirs ending with '/' 2012-11-14 14:38:28 +00:00
gcc-cross-initial_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
gcc-cross.inc gcc-cross: Explicitly depend on linux-libc-headers 2012-11-24 15:12:28 +00:00
gcc-cross4.inc gcc-4.6: fix toolchain build for SH4 2011-11-16 17:32:45 +00:00
gcc-cross_4.7.bb gcc-4.7: Do not use --with-header option for cross-gcc 2012-04-30 11:37:27 +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.7.bb gcc-crosssdk-initial_4.7.bb: Add --with-native-system-header-dir to EXTRA_OECONF 2012-08-21 12:15:32 +01:00
gcc-crosssdk.inc nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
gcc-crosssdk_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
gcc-multilib-config.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-package-cross.inc Split do_packagedata task from do_package 2013-01-25 12:42:47 +00:00
gcc-package-runtime.inc Split do_packagedata task from do_package 2013-01-25 12:42:47 +00:00
gcc-package-sdk.inc gcc-package-sdk: Package plugin files generated by gcc-4.7 2012-04-30 11:37:27 +01:00
gcc-package-target.inc gcc-package-target: add libexec for plugin 2012-05-03 15:48:10 +01:00
gcc-runtime_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
gcc_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
libgcc_4.7.bb gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00