Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96366 Details for
Bug 140205
GCC-4 for SH-4 needs some multilib support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Crude hack to add multilib support to SuperH-GCC4 compilers
portage-gcc4-superh-multilib.patch (text/plain), 1.13 KB, created by
Manuel Lauss
on 2006-09-08 00:14:23 UTC
(
hide
)
Description:
Crude hack to add multilib support to SuperH-GCC4 compilers
Filename:
MIME Type:
Creator:
Manuel Lauss
Created:
2006-09-08 00:14:23 UTC
Size:
1.13 KB
patch
obsolete
>--- eclass/toolchain.eclass~superh4-gcc4-multilib 2006-09-08 08:27:58.029315000 +0200 >+++ eclass/toolchain.eclass 2006-09-08 09:12:45.399315000 +0200 >@@ -1118,10 +1118,31 @@ gcc-library-configure() { > || confgcc="${confgcc} --enable-multilib" > } > >+gcc4-superh-multilib-configure() { >+ local mlliblist >+ if [[ ${CTARGET} == sh4-* ]] ; then >+ mliblist="m4,m4-nofpu,m4-single" >+ elif [[ ${CTARGET} == sh4a-* ]] ; then >+ mliblist="m4a,m4a-nofpu,m4a-single" >+ elif [[ ${CTARGET} == sh3-* ]] ; then >+ mliblist="m3,m3e" >+ elif [[ ${CTARGET} == sh2-* ]] ; then >+ mliblist="m2,m2e" >+ fi >+ if [[ x"${mliblist}" != x"" ]] ; then >+ confgcc="${confgcc} --enable-multilib --with-multilib-list=${mliblist}" >+ einfo "SuperH GCC4 multilib list: ${mliblist}" >+ elif [[ ${CTARGET} = *-linux* ]] ; then >+ confgcc="${confgcc} --disable-multilib" >+ fi >+} >+ > gcc-compiler-configure() { > # multilib support > if is_multilib ; then > confgcc="${confgcc} --enable-multilib" >+ elif [[ ${CTARGET} == sh* ]] && tc_version_is_at_least "4.0" ; then >+ gcc4-superh-multilib-configure > elif [[ ${CTARGET} == *-linux* ]] ; then > confgcc="${confgcc} --disable-multilib" > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140205
:
96366
|
96935