Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377004 Details for
Bug 510400
sys-devel/gcc-4.8.2: initial multilib support for Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
multilib support patch for gcc-4.8.2
gcc48-freebsd-multilib.patch (text/plain), 1.34 KB, created by
Yuta SATOH
on 2014-05-15 13:51:43 UTC
(
hide
)
Description:
multilib support patch for gcc-4.8.2
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2014-05-15 13:51:43 UTC
Size:
1.34 KB
patch
obsolete
>diff --git a/gcc-4.8.2/gcc/config.gcc b/gcc-4.8.2/gcc/config.gcc >index b2372cd..d67461b 100644 >--- a/gcc-4.8.2/gcc/config.gcc >+++ b/gcc-4.8.2/gcc/config.gcc >@@ -1227,6 +1227,12 @@ i[34567]86-*-freebsd*) > ;; > x86_64-*-freebsd*) > tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" >+ case ${target} in >+ *gentoo*) >+ tm_file="${tm_file} i386/freebsd64-multilib.h" >+ tmake_file="${tmake_file} i386/t-freebsd64" >+ ;; >+ esac > ;; > i[34567]86-*-netbsdelf*) > tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" >diff --git a/gcc-4.8.2/gcc/config/i386/freebsd64-multilib.h b/gcc-4.8.2/gcc/config/i386/freebsd64-multilib.h >index e69de29..3dd6a36 100644 >--- a/gcc-4.8.2/gcc/config/i386/freebsd64-multilib.h >+++ b/gcc-4.8.2/gcc/config/i386/freebsd64-multilib.h >@@ -0,0 +1,6 @@ >+#undef MULTILIB_DEFAULTS >+#if TARGET_64BIT_DEFAULT >+#define MULTILIB_DEFAULTS { "m64" } >+#else >+#define MULTILIB_DEFAULTS { "m32" } >+#endif >diff --git a/gcc-4.8.2/gcc/config/i386/t-freebsd64 b/gcc-4.8.2/gcc/config/i386/t-freebsd64 >index e69de29..cc6ea0e 100644 >--- a/gcc-4.8.2/gcc/config/i386/t-freebsd64 >+++ b/gcc-4.8.2/gcc/config/i386/t-freebsd64 >@@ -0,0 +1,4 @@ >+# Copy of t-mingw-w64 >+MULTILIB_OPTIONS = m64/m32 >+MULTILIB_DIRNAMES = 64 32 >+MULTILIB_OSDIRNAMES = ../lib ../lib32
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 510400
: 377004 |
377006
|
377016
|
377064
|
377068
|
469654
|
469656
|
469658