summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-06-18 10:32:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-06-18 10:32:03 +0000
commit55e9fcaefa7247b88ddcebb6212543cda743f4c3 (patch)
treeb5c1315a5eeaa45fa52e36141b9f29dd2dd39080 /contrib
parentUpdate. (diff)
downloadrtems-55e9fcaefa7247b88ddcebb6212543cda743f4c3.tar.bz2
Preps for next spin.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/rtems4.8/arm/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/arm/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/avr/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/avr/gcc-sources.add11
-rw-r--r--contrib/crossrpms/rtems4.8/avr/rtems-4.8-avr-rtems4.8-gcc.spec14
-rw-r--r--contrib/crossrpms/rtems4.8/bfin/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gcc.spec1
-rw-r--r--contrib/crossrpms/rtems4.8/h8300/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/h8300/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/h8300/rtems-4.8-h8300-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/i386/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/i386/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/i386/rtems-4.8-i386-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/mips/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/mips/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/mips/rtems-4.8-mips-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/powerpc/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/powerpc/rtems-4.8-powerpc-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/sh/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/sh/gcc-sources.add10
-rw-r--r--contrib/crossrpms/rtems4.8/sh/rtems-4.8-sh-rtems4.8-gcc.spec13
-rw-r--r--contrib/crossrpms/rtems4.8/sparc/rtems-4.8-sparc-rtems4.8-gcc.spec10
-rw-r--r--contrib/crossrpms/rtems4.8/tic4x/Makefile.am2
-rw-r--r--contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add11
-rw-r--r--contrib/crossrpms/rtems4.8/tic4x/rtems-4.8-tic4x-rtems4.8-gcc.spec14
27 files changed, 169 insertions, 48 deletions
diff --git a/contrib/crossrpms/rtems4.8/arm/Makefile.am b/contrib/crossrpms/rtems4.8/arm/Makefile.am
index 336bffe7d2..07243b2591 100644
--- a/contrib/crossrpms/rtems4.8/arm/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/arm/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/arm/gcc-sources.add b/contrib/crossrpms/rtems4.8/arm/gcc-sources.add
index b256f2820d..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/arm/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/arm/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec
index 1b4b22f645..bcf2139126 100644
--- a/contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: arm-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-arm-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=arm-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/avr/Makefile.am b/contrib/crossrpms/rtems4.8/avr/Makefile.am
index 5d5d8425d1..1105ce24bc 100644
--- a/contrib/crossrpms/rtems4.8/avr/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/avr/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.0.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 11
+GCC_RPMREL = 12
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --disable-infos
diff --git a/contrib/crossrpms/rtems4.8/avr/gcc-sources.add b/contrib/crossrpms/rtems4.8/avr/gcc-sources.add
index 800a69be47..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/avr/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/avr/gcc-sources.add
@@ -1,10 +1,19 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
+%if "%{gcc_version}" == "4.1.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
+%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
diff --git a/contrib/crossrpms/rtems4.8/avr/rtems-4.8-avr-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/avr/rtems-4.8-avr-rtems4.8-gcc.spec
index 5a1c7c2a39..f10a4a5814 100644
--- a/contrib/crossrpms/rtems4.8/avr/rtems-4.8-avr-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/avr/rtems-4.8-avr-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: avr-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -52,13 +52,22 @@ Requires: rtems-4.8-avr-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
+%if "%{gcc_version}" == "4.1.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
+%endif
%{?_without_sources:NoSource: 0}
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
@@ -123,6 +132,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=avr-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/bfin/Makefile.am b/contrib/crossrpms/rtems4.8/bfin/Makefile.am
index 82875080af..2083755270 100644
--- a/contrib/crossrpms/rtems4.8/bfin/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/bfin/Makefile.am
@@ -14,7 +14,7 @@ BINUTILS_OPTS += --disable-infos
GCC_VERS = 4.2.0
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 13
+GCC_RPMREL = 14
NEWLIB_VERS = 1.15.0
include ../gcc.am
# ATM, we don't want infos from bleeding edge GCC
diff --git a/contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gcc.spec
index a6dd48d84d..13bd80d7ac 100644
--- a/contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gcc.spec
@@ -132,6 +132,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=bfin-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/h8300/Makefile.am b/contrib/crossrpms/rtems4.8/h8300/Makefile.am
index 341d4f2c39..ed1cb456b6 100644
--- a/contrib/crossrpms/rtems4.8/h8300/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/h8300/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/h8300/gcc-sources.add b/contrib/crossrpms/rtems4.8/h8300/gcc-sources.add
index b256f2820d..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/h8300/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/h8300/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/h8300/rtems-4.8-h8300-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/h8300/rtems-4.8-h8300-rtems4.8-gcc.spec
index 16fbf52ccb..48f1163930 100644
--- a/contrib/crossrpms/rtems4.8/h8300/rtems-4.8-h8300-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/h8300/rtems-4.8-h8300-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: h8300-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-h8300-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=h8300-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/i386/Makefile.am b/contrib/crossrpms/rtems4.8/i386/Makefile.am
index 8797124c50..a4db00d543 100644
--- a/contrib/crossrpms/rtems4.8/i386/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/i386/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/i386/gcc-sources.add b/contrib/crossrpms/rtems4.8/i386/gcc-sources.add
index b256f2820d..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/i386/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/i386/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/i386/rtems-4.8-i386-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/i386/rtems-4.8-i386-rtems4.8-gcc.spec
index 8d8adadc24..81442478ce 100644
--- a/contrib/crossrpms/rtems4.8/i386/rtems-4.8-i386-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/i386/rtems-4.8-i386-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: i386-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-i386-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=i386-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/mips/Makefile.am b/contrib/crossrpms/rtems4.8/mips/Makefile.am
index a332ceb161..c77bbb7cc1 100644
--- a/contrib/crossrpms/rtems4.8/mips/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/mips/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/mips/gcc-sources.add b/contrib/crossrpms/rtems4.8/mips/gcc-sources.add
index 0abfe0162c..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/mips/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/mips/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070405.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/mips/rtems-4.8-mips-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/mips/rtems-4.8-mips-rtems4.8-gcc.spec
index d7f598854e..968a76dded 100644
--- a/contrib/crossrpms/rtems4.8/mips/rtems-4.8-mips-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/mips/rtems-4.8-mips-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: mips-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-mips-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070405.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=mips-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/powerpc/Makefile.am b/contrib/crossrpms/rtems4.8/powerpc/Makefile.am
index b6f82077fa..1107f49c3f 100644
--- a/contrib/crossrpms/rtems4.8/powerpc/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/powerpc/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add b/contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add
index b256f2820d..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/powerpc/rtems-4.8-powerpc-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/powerpc/rtems-4.8-powerpc-rtems4.8-gcc.spec
index e4b8bb9277..7898697acc 100644
--- a/contrib/crossrpms/rtems4.8/powerpc/rtems-4.8-powerpc-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/powerpc/rtems-4.8-powerpc-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: powerpc-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-powerpc-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=powerpc-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/sh/Makefile.am b/contrib/crossrpms/rtems4.8/sh/Makefile.am
index 9f42ef09fa..ce7cb75aed 100644
--- a/contrib/crossrpms/rtems4.8/sh/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/sh/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 4.1.2
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 12
+GCC_RPMREL = 13
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/contrib/crossrpms/rtems4.8/sh/gcc-sources.add b/contrib/crossrpms/rtems4.8/sh/gcc-sources.add
index b256f2820d..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/sh/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/sh/gcc-sources.add
@@ -1,12 +1,18 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
diff --git a/contrib/crossrpms/rtems4.8/sh/rtems-4.8-sh-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/sh/rtems-4.8-sh-rtems4.8-gcc.spec
index 0cec1bd3ed..2a0ea0d295 100644
--- a/contrib/crossrpms/rtems4.8/sh/rtems-4.8-sh-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/sh/rtems-4.8-sh-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: sh-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,15 +53,21 @@ Requires: rtems-4.8-sh-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
-Patch0: gcc-core-4.1.2-rtems4.8-20070216.diff
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -133,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=sh-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/sparc/rtems-4.8-sparc-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/sparc/rtems-4.8-sparc-rtems4.8-gcc.spec
index bf44634a5a..cdb1692900 100644
--- a/contrib/crossrpms/rtems4.8/sparc/rtems-4.8-sparc-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/sparc/rtems-4.8-sparc-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: sparc-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 13%{?dist}
+Release: 14%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,18 +53,21 @@ Requires: rtems-4.8-sparc-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
%if "%{gcc_version}" == "4.1.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
%endif
%if "%{gcc_version}" == "4.2.0"
-Patch0: gcc-core-4.2.0-rtems4.8-20070613.diff
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -136,6 +139,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=sparc-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
diff --git a/contrib/crossrpms/rtems4.8/tic4x/Makefile.am b/contrib/crossrpms/rtems4.8/tic4x/Makefile.am
index 907850d6f5..68df6c9dbc 100644
--- a/contrib/crossrpms/rtems4.8/tic4x/Makefile.am
+++ b/contrib/crossrpms/rtems4.8/tic4x/Makefile.am
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
GCC_VERS = 3.4.6
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 11
+GCC_RPMREL = 12
NEWLIB_VERS = 1.15.0
include ../gcc.am
GCC_OPTS +=
diff --git a/contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add b/contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add
index 800a69be47..cce97805e1 100644
--- a/contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add
+++ b/contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add
@@ -1,10 +1,19 @@
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
+%if "%{gcc_version}" == "4.1.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
+%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
diff --git a/contrib/crossrpms/rtems4.8/tic4x/rtems-4.8-tic4x-rtems4.8-gcc.spec b/contrib/crossrpms/rtems4.8/tic4x/rtems-4.8-tic4x-rtems4.8-gcc.spec
index efb70b4901..0c614cc4fb 100644
--- a/contrib/crossrpms/rtems4.8/tic4x/rtems-4.8-tic4x-rtems4.8-gcc.spec
+++ b/contrib/crossrpms/rtems4.8/tic4x/rtems-4.8-tic4x-rtems4.8-gcc.spec
@@ -26,7 +26,7 @@ Summary: tic4x-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,13 +53,22 @@ Requires: rtems-4.8-tic4x-rtems4.8-newlib = %{newlib_version}-%{release}
%define gccexec %{_libdir}/gcc-lib
%endif
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff
%endif
+%if "%{gcc_version}" == "4.1.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff
+%endif
+%if "%{gcc_version}" == "4.2.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff
+%endif
%{?_without_sources:NoSource: 0}
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
@@ -124,6 +133,7 @@ cd ..
--datadir=%{_datadir} \
--build=%_build --host=%_host \
--target=tic4x-rtems4.8 \
+ --disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \