diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-12-17 13:46:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:53:30 +0000 |
commit | b26819c85881e82ee1b5c68840011e78c321f18e (patch) | |
tree | a6bbe3e2c86cc3da644f76d1c0d36f7fb224f294 /meta/recipes-kernel/modutils-initscripts | |
parent | 0e0a5ee405bab478f35690e95219a1e5f2ac7aa6 (diff) | |
download | openembedded-core-b26819c85881e82ee1b5c68840011e78c321f18e.tar.gz openembedded-core-b26819c85881e82ee1b5c68840011e78c321f18e.tar.bz2 openembedded-core-b26819c85881e82ee1b5c68840011e78c321f18e.zip |
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]
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/modutils-initscripts')
0 files changed, 0 insertions, 0 deletions