[rtems-crossrpms commit] Regenerate.

Ralf Corsepius ralf at rtems.org
Wed Mar 28 15:15:47 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    8c357aa6bc261d9918c43a68bd17071ad8f2fd5e
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=8c357aa6bc261d9918c43a68bd17071ad8f2fd5e

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Mar 28 10:24:04 2012 +0200

Regenerate.

---

 rtems4.11/arm-eabi/Makefile.in                     |    6 +-
 .../arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec |   21 +++--
 rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec    |   10 ++-
 rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec    |   10 ++-
 rtems4.11/bfin/Makefile.in                         |    6 +-
 rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec  |   20 +++--
 rtems4.11/h8300/Makefile.in                        |    6 +-
 .../h8300/rtems-4.11-h8300-rtems4.11-gcc.spec      |   20 +++--
 rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec  |   10 ++-
 rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec  |   10 ++-
 rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec  |   10 ++-
 rtems4.11/m32r/Makefile.in                         |    8 +-
 rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec  |   96 ++++++++++++++++++--
 rtems4.11/m68k/Makefile.in                         |    6 +-
 rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec  |   20 +++--
 rtems4.11/mips/Makefile.in                         |    6 +-
 rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec  |   20 +++--
 rtems4.11/powerpc/Makefile.in                      |    6 +-
 .../powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec  |   20 +++--
 rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec      |   10 ++-
 .../sparc/rtems-4.11-sparc-rtems4.11-gcc.spec      |   10 ++-
 .../sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec  |   10 ++-
 22 files changed, 239 insertions(+), 102 deletions(-)

diff --git a/rtems4.11/arm-eabi/Makefile.in b/rtems4.11/arm-eabi/Makefile.in
index b6c4e6a..8e7c2b8 100644
--- a/rtems4.11/arm-eabi/Makefile.in
+++ b/rtems4.11/arm-eabi/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec b/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec
index fbe6981..4c2c781 100644
--- a/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec
+++ b/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	arm-rtemseabi4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -182,6 +186,7 @@ BuildRequires:  %{_host_rpmprefix}gcc
 %if %{defined mpc_required}
 %if "%{mpc_provided}" >= "%{mpc_required}"
 %{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
+%{?el6:BuildRequires: libmpc-devel >= %{mpc_required}}
 %{?suse:BuildRequires: mpc-devel >= %{mpc_required}}
 %if "%{_build}" != "%{_host}"
 BuildRequires:  %{_host_rpmprefix}mpc-devel >= %{mpc_required}
@@ -291,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -375,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
index 4193b8a..664abfe 100644
--- a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
+++ b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
index bf909b5..2a4ccc7 100644
--- a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
+++ b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -281,7 +285,7 @@ Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/bfin/Makefile.in b/rtems4.11/bfin/Makefile.in
index 6eaff96..746e176 100644
--- a/rtems4.11/bfin/Makefile.in
+++ b/rtems4.11/bfin/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
index ad0690b..bb4b9b1 100644
--- a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
+++ b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	bfin-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -376,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/h8300/Makefile.in b/rtems4.11/h8300/Makefile.in
index 1178326..13db60f 100644
--- a/rtems4.11/h8300/Makefile.in
+++ b/rtems4.11/h8300/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
index 9e9f86d..178ee44 100644
--- a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
+++ b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	h8300-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -376,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
index f159041..2f21e74 100644
--- a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
+++ b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
index abbf519..ed0c0f2 100644
--- a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
+++ b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
index af30b27..759258e 100644
--- a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
+++ b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -281,7 +285,7 @@ Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/m32r/Makefile.in b/rtems4.11/m32r/Makefile.in
index 5037599..04fffd4 100644
--- a/rtems4.11/m32r/Makefile.in
+++ b/rtems4.11/m32r/Makefile.in
@@ -176,13 +176,13 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
-GCC_OPTS = --languages=c --newlib
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
+GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
 	$(top_srcdir)/gcc/build.add $(top_srcdir)/gcc/install.add \
diff --git a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
index 6d3ca1b..931988b 100644
--- a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
+++ b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	m32r-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -278,10 +282,21 @@ Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4
 %endif
 
 %if "%{gcc_version}" < "4.7.0"
+%if "%{gcc_version}" == "4.6.3"
+Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
+%if "%{gcc_version}" == "4.6.2"
+Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
+%if "%{gcc_version}" == "4.5.3" 
+Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110905.diff
+%endif
+
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -311,6 +326,10 @@ cd gcc-%{gcc_pkgvers}
 %{?PATCH0:%patch0 -p1}
 cd ..
 
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
+cd gcc-%{gcc_pkgvers}
+%{?PATCH1:%patch1 -p1}
+cd ..
 
 
 
@@ -361,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -374,6 +393,7 @@ echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > g
   cd build
 
   languages="c"
+  languages="$languages,c++"
   export PATH="%{_bindir}:${PATH}"
 %if "%{_build}" != "%{_host}"
   CFLAGS_FOR_BUILD="-g -O2 -Wall" \
@@ -777,6 +797,66 @@ if [ $1 -eq 0 ]; then
   /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
 fi
 
+# ==============================================================
+# rtems-4.11-m32r-rtems4.11-gcc-c++
+# ==============================================================
+%package -n rtems-4.11-m32r-rtems4.11-gcc-c++
+Summary:	GCC c++ compiler for m32r-rtems4.11
+Group:		Development/Tools
+Version:        %{gcc_rpmvers}
+License:	GPL
+Requires:       rtems-4.11-m32r-rtems4.11-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
+
+%if "%{_build}" != "%{_host}"
+BuildRequires:  rtems-4.11-m32r-rtems4.11-gcc-c++ = %{gcc_rpmvers}
+%endif
+
+Requires:       rtems-4.11-gcc-common
+Requires:       rtems-4.11-m32r-rtems4.11-gcc = %{gcc_rpmvers}-%{release}
+
+%description -n rtems-4.11-m32r-rtems4.11-gcc-c++
+GCC c++ compiler for m32r-rtems4.11.
+
+
+%package -n rtems-4.11-m32r-rtems4.11-gcc-libstdc++
+Summary:	libstdc++ for m32r-rtems4.11
+Group:		Development/Tools
+Version:        %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License:	GPL
+
+%description -n rtems-4.11-m32r-rtems4.11-gcc-libstdc++
+%{summary}
+
+
+%files -n rtems-4.11-m32r-rtems4.11-gcc-c++
+%defattr(-,root,root)
+%dir %{_prefix}
+
+%dir %{_mandir}
+%dir %{_mandir}/man1
+%{_mandir}/man1/m32r-rtems4.11-g++.1*
+
+%dir %{_bindir}
+%{_bindir}/m32r-rtems4.11-c++%{_exeext}
+%{_bindir}/m32r-rtems4.11-g++%{_exeext}
+
+%dir %{_libexecdir}
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/m32r-rtems4.11
+%dir %{_libexecdir}/gcc/m32r-rtems4.11/%{gcc_version}
+%{_libexecdir}/gcc/m32r-rtems4.11/%{gcc_version}/cc1plus%{_exeext}
+
+
+%files -n rtems-4.11-m32r-rtems4.11-gcc-libstdc++ -f build/files.g++
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_gcclibdir}
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/m32r-rtems4.11
+%dir %{_gcclibdir}/gcc/m32r-rtems4.11/%{gcc_version}
+%dir %{_gcclibdir}/gcc/m32r-rtems4.11/%{gcc_version}/include
+%{_gcclibdir}/gcc/m32r-rtems4.11/%{gcc_version}/include/c++
 
 
 
diff --git a/rtems4.11/m68k/Makefile.in b/rtems4.11/m68k/Makefile.in
index 99fbdaa..ffdc1c0 100644
--- a/rtems4.11/m68k/Makefile.in
+++ b/rtems4.11/m68k/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
index 9420146..c466b3a 100644
--- a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
+++ b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	m68k-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -376,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/mips/Makefile.in b/rtems4.11/mips/Makefile.in
index 064e6d4..330b02e 100644
--- a/rtems4.11/mips/Makefile.in
+++ b/rtems4.11/mips/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
index 5089250..63eb755 100644
--- a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
+++ b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	mips-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -376,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/powerpc/Makefile.in b/rtems4.11/powerpc/Makefile.in
index 8d469e2..9ce7579 100644
--- a/rtems4.11/powerpc/Makefile.in
+++ b/rtems4.11/powerpc/Makefile.in
@@ -176,12 +176,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/common/clean.add \
 	$(top_srcdir)/binutils/target-binutils.add \
 	$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.6.3
+GCC_VERS = 4.7.0
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
 NEWLIB_VERS = 1.20.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 5`
 GCC_OPTS = --languages=c --newlib --languages=cxx
 GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
index 29b1421..9db4119 100644
--- a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
+++ b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
@@ -46,9 +46,9 @@
 %endif
 
 
-%define gcc_pkgvers 4.6.3
-%define gcc_version 4.6.3
-%define gcc_rpmvers %{expand:%(echo "4.6.3" | tr - _ )}
+%define gcc_pkgvers 4.7.0
+%define gcc_version 4.7.0
+%define gcc_rpmvers %{expand:%(echo "4.7.0" | tr - _ )}
 
 %define newlib_pkgvers		1.20.0
 %define newlib_version		1.20.0
@@ -58,7 +58,7 @@ Summary:      	powerpc-rtems4.11 gcc
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
@@ -376,7 +380,7 @@ cd ..
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
diff --git a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
index 5e1255b..502c156 100644
--- a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
+++ b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
index 87b6efa..2894cfd 100644
--- a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}
diff --git a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
index 40d53c5..a5b069c 100644
--- a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
@@ -78,11 +78,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
@@ -292,7 +296,7 @@ Patch1:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-2011
 %endif
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120217.diff
+Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.20.0-rtems4.11-20120328.diff
 %endif
 
 %if 0%{?_build_mpfr}




More information about the vc mailing list