[rtems-crossrpms commit] Preps for gcc-4.7.0.

Ralf Corsepius ralf at rtems.org
Wed Apr 4 13:11:16 UTC 2012


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

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Sat Mar 24 06:00:06 2012 +0100

Preps for gcc-4.7.0.

---

 rtems4.11/arm-eabi/gcc-sources.add |    6 ++++--
 rtems4.11/arm/gcc-sources.add      |    6 ++++--
 rtems4.11/avr/gcc-sources.add      |    6 ++++--
 rtems4.11/bfin/gcc-sources.add     |    6 ++++--
 rtems4.11/h8300/gcc-sources.add    |    6 ++++--
 rtems4.11/i386/gcc-sources.add     |    6 ++++--
 rtems4.11/lm32/gcc-sources.add     |    6 ++++--
 rtems4.11/m32c/gcc-sources.add     |    6 ++++--
 rtems4.11/m32r/gcc-sources.add     |    6 ++++--
 rtems4.11/m68k/gcc-sources.add     |    6 ++++--
 rtems4.11/mips/gcc-sources.add     |    6 ++++--
 rtems4.11/powerpc/gcc-sources.add  |    6 ++++--
 rtems4.11/sh/gcc-sources.add       |    6 ++++--
 rtems4.11/sparc/gcc-sources.add    |    6 ++++--
 rtems4.11/sparc64/gcc-sources.add  |    6 ++++--
 15 files changed, 60 insertions(+), 30 deletions(-)

diff --git a/rtems4.11/arm-eabi/gcc-sources.add b/rtems4.11/arm-eabi/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/arm-eabi/gcc-sources.add
+++ b/rtems4.11/arm-eabi/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/arm/gcc-sources.add b/rtems4.11/arm/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/arm/gcc-sources.add
+++ b/rtems4.11/arm/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/avr/gcc-sources.add b/rtems4.11/avr/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/avr/gcc-sources.add
+++ b/rtems4.11/avr/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/bfin/gcc-sources.add b/rtems4.11/bfin/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/bfin/gcc-sources.add
+++ b/rtems4.11/bfin/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/h8300/gcc-sources.add b/rtems4.11/h8300/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/h8300/gcc-sources.add
+++ b/rtems4.11/h8300/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/i386/gcc-sources.add b/rtems4.11/i386/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/i386/gcc-sources.add
+++ b/rtems4.11/i386/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/lm32/gcc-sources.add b/rtems4.11/lm32/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/lm32/gcc-sources.add
+++ b/rtems4.11/lm32/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/m32c/gcc-sources.add b/rtems4.11/m32c/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/m32c/gcc-sources.add
+++ b/rtems4.11/m32c/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/m32r/gcc-sources.add b/rtems4.11/m32r/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/m32r/gcc-sources.add
+++ b/rtems4.11/m32r/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/m68k/gcc-sources.add b/rtems4.11/m68k/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/m68k/gcc-sources.add
+++ b/rtems4.11/m68k/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/mips/gcc-sources.add b/rtems4.11/mips/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/mips/gcc-sources.add
+++ b/rtems4.11/mips/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/powerpc/gcc-sources.add b/rtems4.11/powerpc/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/powerpc/gcc-sources.add
+++ b/rtems4.11/powerpc/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/sh/gcc-sources.add b/rtems4.11/sh/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/sh/gcc-sources.add
+++ b/rtems4.11/sh/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/sparc/gcc-sources.add b/rtems4.11/sparc/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/sparc/gcc-sources.add
+++ b/rtems4.11/sparc/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
diff --git a/rtems4.11/sparc64/gcc-sources.add b/rtems4.11/sparc64/gcc-sources.add
index 6830a1f..13813d4 100644
--- a/rtems4.11/sparc64/gcc-sources.add
+++ b/rtems4.11/sparc64/gcc-sources.add
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120307.diff
+Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -15,6 +15,7 @@ Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.ta
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110905.diff
 %endif
 
+%if "%{gcc_version}" < "4.7.0"
 %if %build_cxx
 %if "%{gcc_version}" == "4.6.3"
 Source1:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
@@ -44,6 +45,7 @@ Source4:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar
 Source5:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
 
 %endif
+%endif
 %if %build_newlib
 %if "%{newlib_version}" == "1.20.0"
 Source50:	ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz




More information about the vc mailing list