Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190174 Details for
Bug 268343
sys-devel/gcc-4.3.3-r2 support for FreeMiNT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/4.3.2 patch
gcc-4.3.2-mint3.patch (text/plain), 18.13 KB, created by
Alan Hourihane
on 2009-05-02 20:57:34 UTC
(
hide
)
Description:
files/4.3.2 patch
Filename:
MIME Type:
Creator:
Alan Hourihane
Created:
2009-05-02 20:57:34 UTC
Size:
18.13 KB
patch
obsolete
>diff -aurN gcc-4.2.3/libtool.m4 gcc-4.2.3.mint/libtool.m4 >--- gcc-4.2.3/libtool.m4 Tue Apr 8 14:25:06 2008 >+++ gcc-4.2.3.mint/libtool.m4 Tue Apr 8 14:26:46 2008 >@@ -317,6 +317,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) > # This has been around since 386BSD, at least. Likely further. > if test -x /sbin/sysctl; then >diff -ur gcc-4.2.3/boehm-gc/configure gcc-4.2.3.mint/boehm-gc/configure >--- gcc-4.2.3/boehm-gc/configure 2008-04-16 00:27:25.000000000 +0100 >+++ gcc-4.2.3.mint/boehm-gc/configure 2008-04-16 09:33:30.000000000 +0100 >@@ -4415,6 +4415,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libffi/configure gcc-4.2.3.mint/libffi/configure >--- gcc-4.2.3/libffi/configure 2008-04-16 00:27:44.000000000 +0100 >+++ gcc-4.2.3.mint/libffi/configure 2008-04-16 09:34:32.000000000 +0100 >@@ -3552,6 +3552,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libgfortran/configure gcc-4.2.3.mint/libgfortran/configure >--- gcc-4.2.3/libgfortran/configure 2008-04-16 00:35:02.000000000 +0100 >+++ gcc-4.2.3.mint/libgfortran/configure 2008-04-16 09:35:44.000000000 +0100 >@@ -3813,6 +3813,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libgomp/configure gcc-4.2.3.mint/libgomp/configure >--- gcc-4.2.3/libgomp/configure 2008-04-16 00:27:54.000000000 +0100 >+++ gcc-4.2.3.mint/libgomp/configure 2008-04-16 09:35:20.000000000 +0100 >@@ -3985,6 +3985,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libjava/classpath/configure gcc-4.2.3.mint/libjava/classpath/configure >--- gcc-4.2.3/libjava/classpath/configure 2008-04-16 00:25:19.000000000 +0100 >+++ gcc-4.2.3.mint/libjava/classpath/configure 2008-04-16 09:36:06.000000000 +0100 >@@ -5398,6 +5398,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libjava/configure gcc-4.2.3.mint/libjava/configure >--- gcc-4.2.3/libjava/configure 2008-04-16 00:35:08.000000000 +0100 >+++ gcc-4.2.3.mint/libjava/configure 2008-04-16 09:36:32.000000000 +0100 >@@ -5535,6 +5535,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libjava/libltdl/configure gcc-4.2.3.mint/libjava/libltdl/configure >--- gcc-4.2.3/libjava/libltdl/configure 2008-04-16 00:33:55.000000000 +0100 >+++ gcc-4.2.3.mint/libjava/libltdl/configure 2008-04-16 09:37:00.000000000 +0100 >@@ -5941,6 +5941,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libmudflap/configure gcc-4.2.3.mint/libmudflap/configure >--- gcc-4.2.3/libmudflap/configure 2008-04-16 00:35:10.000000000 +0100 >+++ gcc-4.2.3.mint/libmudflap/configure 2008-04-16 09:34:13.000000000 +0100 >@@ -5484,6 +5484,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libobjc/configure gcc-4.2.3.mint/libobjc/configure >--- gcc-4.2.3/libobjc/configure 2008-04-16 00:28:07.000000000 +0100 >+++ gcc-4.2.3.mint/libobjc/configure 2008-04-16 09:34:46.000000000 +0100 >@@ -3406,6 +3406,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libssp/configure gcc-4.2.3.mint/libssp/configure >--- gcc-4.2.3/libssp/configure 2008-04-16 00:28:07.000000000 +0100 >+++ gcc-4.2.3.mint/libssp/configure 2008-04-16 09:33:49.000000000 +0100 >@@ -4571,6 +4571,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/libstdc++-v3/configure gcc-4.2.3.mint/libstdc++-v3/configure >--- gcc-4.2.3/libstdc++-v3/configure 2008-04-16 00:35:28.000000000 +0100 >+++ gcc-4.2.3.mint/libstdc++-v3/configure 2008-04-16 09:33:10.000000000 +0100 >@@ -4379,6 +4379,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >diff -ur gcc-4.2.3/zlib/configure gcc-4.2.3.mint/zlib/configure >--- gcc-4.2.3/zlib/configure 2008-04-16 00:28:38.000000000 +0100 >+++ gcc-4.2.3.mint/zlib/configure 2008-04-16 09:35:02.000000000 +0100 >@@ -3521,6 +3521,12 @@ > lt_cv_sys_max_cmd_len=8192; > ;; > >+ mint*) >+ # On MiNT this test can take minutes to run, and I'm not sure it's >+ # healthy for this platform. Let's restrict it to 8192. >+ lt_cv_sys_max_cmd_len=8192; >+ ;; >+ > amigaos*) > # On AmigaOS with pdksh, this test takes hours, literally. > # So we just punt and use a minimum line length of 8192. >--- gcc-4.2.3/libstdc++-v3/libsupc++/guard.cc.old 2008-04-21 14:01:06.429023196 +0100 >+++ gcc-4.2.3/libstdc++-v3/libsupc++/guard.cc 2008-04-21 14:01:25.230287338 +0100 >@@ -30,6 +30,7 @@ > // Thread support written by Jason Merrill, Red Hat Inc. <jason@redhat.com> > > #include <bits/c++config.h> >+#include <cstdlib> > #include <cxxabi.h> > #include <exception> > #include <new> >--- gcc-4.2.3/libstdc++-v3/src/codecvt.cc.old 2008-04-21 14:32:37.116117842 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/codecvt.cc 2008-04-21 14:32:47.505045768 +0100 >@@ -27,6 +27,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/complex_io.cc.old 2008-04-21 14:36:27.261023151 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/complex_io.cc 2008-04-21 14:36:36.534232802 +0100 >@@ -27,6 +27,7 @@ > // invalidate any other reasons why the executable file might be covered by > // the GNU General Public License. > >+#include <cstdlib> > #include <complex> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/ctype.cc.old 2008-04-21 14:40:06.994312017 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ctype.cc 2008-04-21 14:40:18.218220665 +0100 >@@ -26,6 +26,7 @@ > // invalidate any other reasons why the executable file might be covered by > // the GNU General Public License. > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/globals_io.cc.old 2008-04-21 14:47:42.230023258 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/globals_io.cc 2008-04-21 14:47:52.749297097 +0100 >@@ -27,6 +27,7 @@ > // the GNU General Public License. > > #include "bits/c++config.h" >+#include <cstdlib> > #include <fstream> > #include <istream> > #include <ostream> >--- gcc-4.2.3/libstdc++-v3/src/ios.cc.old 2008-04-21 14:51:32.364023391 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ios.cc 2008-04-21 14:51:39.371196232 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 27.4 Iostreams base classes > // > >+#include <cstdlib> > #include <ios> > #include <limits> > >--- gcc-4.2.3/libstdc++-v3/src/ios_failure.cc.old 2008-04-21 14:53:10.759023042 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ios_failure.cc 2008-04-21 14:53:40.197127646 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 27.4.2.1.1 Class ios_base::failure > // > >+#include <cstdlib> > #include <ios> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/ios_init.cc.old 2008-04-21 14:55:53.181023355 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ios_init.cc 2008-04-21 14:56:01.407485842 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 27.4 Iostreams base classes > // > >+#include <cstdlib> > #include <ios> > #include <ostream> > #include <istream> >--- gcc-4.2.3/libstdc++-v3/src/ios_locale.cc.old 2008-04-21 15:04:38.355183857 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ios_locale.cc 2008-04-21 15:04:47.456159205 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 27.4 Iostreams base classes > // > >+#include <cstdlib> > #include <ios> > #include <locale> > >--- gcc-4.2.3/libstdc++-v3/src/locale_facets.cc.old 2008-04-21 15:10:19.610023164 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/locale_facets.cc 2008-04-21 15:10:26.952034403 +0100 >@@ -26,6 +26,7 @@ > // invalidate any other reasons why the executable file might be covered by > // the GNU General Public License. > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/strstream.cc.old 2008-04-21 15:17:36.006071207 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/strstream.cc 2008-04-21 15:17:43.447641937 +0100 >@@ -46,6 +46,7 @@ > // MAY BE REMOVED in a future standard revision. You should use the > // header <sstream> instead. > >+#include <cstdlib> > #include <strstream> > #include <algorithm> > #include <new> >--- gcc-4.2.3/libstdc++-v3/src/fstream-inst.cc.old 2008-04-21 15:25:14.168032671 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/fstream-inst.cc 2008-04-21 15:25:24.605060960 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <fstream> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/ios-inst.cc.old 2008-04-21 15:40:43.642023146 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ios-inst.cc 2008-04-21 15:40:51.723051414 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <ios> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/iostream-inst.cc.old 2008-04-21 15:55:15.625023267 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/iostream-inst.cc 2008-04-21 15:55:23.629058393 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <iomanip> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/istream-inst.cc.old 2008-04-21 15:59:50.862024439 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/istream-inst.cc 2008-04-21 15:59:59.603028397 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <istream> > #include <iomanip> > >--- gcc-4.2.3/libstdc++-v3/src/istream.cc.old 2008-04-21 16:03:55.949023206 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/istream.cc 2008-04-21 16:04:03.746026447 +0100 >@@ -31,6 +31,7 @@ > // ISO C++ 14882: 27.6.1 Input streams > // > >+#include <cstdlib> > #include <istream> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/locale-inst.cc.old 2008-04-21 16:07:06.705023144 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/locale-inst.cc 2008-04-21 16:07:14.922226343 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 22.1 Locales > // > >+#include <cstdlib> > #include <locale> > > // Instantiation configuration. >--- gcc-4.2.3/libstdc++-v3/src/ostream-inst.cc.old 2008-04-21 16:19:19.443023243 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/ostream-inst.cc 2008-04-21 16:19:26.505037357 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <ostream> > #include <iomanip> > >--- gcc-4.2.3/libstdc++-v3/src/sstream-inst.cc.old 2008-04-21 16:22:53.830023256 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/sstream-inst.cc 2008-04-21 16:23:01.792239858 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <sstream> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/src/streambuf-inst.cc.old 2008-04-21 16:27:18.648023102 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/streambuf-inst.cc 2008-04-21 16:27:28.394022870 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: > // > >+#include <cstdlib> > #include <ios> > #include <streambuf> > >--- gcc-4.2.3/libstdc++-v3/src/streambuf.cc.old 2008-04-21 16:32:11.191078470 +0100 >+++ gcc-4.2.3/libstdc++-v3/src/streambuf.cc 2008-04-21 16:32:20.434047649 +0100 >@@ -31,6 +31,7 @@ > // ISO C++ 14882: 27.5 Stream buffers > // > >+#include <cstdlib> > #include <streambuf> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/codecvt_members.cc.old 2008-04-21 16:40:52.235023128 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/codecvt_members.cc 2008-04-21 16:41:01.248427209 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/collate_members.cc.old 2008-04-21 16:42:19.265348380 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/collate_members.cc 2008-04-21 16:42:25.552040967 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/ctype_members.cc.old 2008-04-21 16:49:06.726023078 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/ctype_members.cc 2008-04-21 16:49:18.212045558 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/messages_members.cc.old 2008-04-21 16:51:46.237348712 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/messages_members.cc 2008-04-21 16:51:55.015221637 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/monetary_members.cc.old 2008-04-21 16:53:14.893023165 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/monetary_members.cc 2008-04-21 16:53:22.350043513 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/numeric_members.cc.old 2008-04-21 16:54:11.077212480 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/numeric_members.cc 2008-04-21 16:53:32.618266080 +0100 >@@ -33,6 +33,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/locale/generic/time_members.cc.old 2008-04-21 16:54:00.835099080 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/locale/generic/time_members.cc 2008-04-21 16:53:41.260024731 +0100 >@@ -34,6 +34,7 @@ > > // Written by Benjamin Kosnik <bkoz@redhat.com> > >+#include <cstdlib> > #include <locale> > > _GLIBCXX_BEGIN_NAMESPACE(std) >--- gcc-4.2.3/libstdc++-v3/config/io/basic_file_stdio.cc.old 2008-04-21 17:00:09.629307442 +0100 >+++ gcc-4.2.3/libstdc++-v3/config/io/basic_file_stdio.cc 2008-04-21 16:59:58.512314844 +0100 >@@ -32,6 +32,7 @@ > // ISO C++ 14882: 27.8 File-based streams > // > >+#include <cstdlib> > #include <bits/basic_file.h> > #include <fcntl.h> > #include <errno.h> >--- gcc-4.2.3/gcc/cp/g++spec.c.old 2008-06-05 11:12:02.252475943 +0100 >+++ gcc-4.2.3/gcc/cp/g++spec.c 2008-06-05 11:12:49.557473133 +0100 >@@ -312,6 +312,12 @@ > if (arglist[j][0] != '-' || arglist[j][1] == 'l') > added_libraries++; > j++; >+#ifdef __MINT__ >+ arglist[j] = "-lpthread"; >+ if (arglist[j][0] != '-' || arglist[j][1] == 'l') >+ added_libraries++; >+ j++; >+#endif > } > if (saw_math) > arglist[j++] = saw_math; >--- gcc-4.2.3/libstdc++-v3/include/c_global/cstdlib.old 2008-06-05 11:15:10.644432810 +0100 >+++ gcc-4.2.3/libstdc++-v3/include/c_global/cstdlib 2008-06-05 11:15:43.703707876 +0100 >@@ -97,7 +97,11 @@ > #undef strtod > #undef strtol > #undef strtoul >+#if _POSIX_THREAD_SYSCALL_SOFT && !defined(_PTHREAD_PRIVATE) >+/* don't undefine system as we're using libpthread */ >+#else > #undef system >+#endif > #undef wcstombs > #undef wctomb > >--- gcc-4.2.3/libstdc++-v3/include/c_std/cstdlib.old 2008-06-05 11:15:10.644432810 +0100 >+++ gcc-4.2.3/libstdc++-v3/include/c_std/cstdlib 2008-06-05 11:15:43.703707876 +0100 >@@ -97,7 +97,11 @@ > #undef strtod > #undef strtol > #undef strtoul >+#if _POSIX_THREAD_SYSCALL_SOFT && !defined(_PTHREAD_PRIVATE) >+/* don't undefine system as we're using libpthread */ >+#else > #undef system >+#endif > #undef wcstombs > #undef wctomb >
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 268343
:
190170
|
190172
| 190174 |
190175