summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/rtems4.7/arm/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/arm/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/arm/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/arm/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/arm/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/avr/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/h8300/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/h8300/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/h8300/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/h8300/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/h8300/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/i386/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/i386/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/i386/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/i386/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/i386/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/m68k/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/m68k/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/m68k/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/m68k/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/m68k/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/mips/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/mips/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/mips/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/mips/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/mips/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/powerpc/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/powerpc/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/sh/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/sh/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/sh/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/sh/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/sh/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/sparc/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.7/sparc/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.7/sparc/binutils-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/sparc/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.7/sparc/gdb-sources.add3
-rw-r--r--contrib/crossrpms/rtems4.7/tic4x/.cvsignore4
42 files changed, 568 insertions, 0 deletions
diff --git a/contrib/crossrpms/rtems4.7/arm/.cvsignore b/contrib/crossrpms/rtems4.7/arm/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/arm/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/arm/Makefile.am b/contrib/crossrpms/rtems4.7/arm/Makefile.am
new file mode 100644
index 0000000000..bd59154767
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/arm/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = arm-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/arm/binutils-sources.add b/contrib/crossrpms/rtems4.7/arm/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/arm/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/arm/gcc-sources.add b/contrib/crossrpms/rtems4.7/arm/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/arm/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/arm/gdb-sources.add b/contrib/crossrpms/rtems4.7/arm/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/arm/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/avr/.cvsignore b/contrib/crossrpms/rtems4.7/avr/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/avr/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/h8300/.cvsignore b/contrib/crossrpms/rtems4.7/h8300/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/h8300/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/h8300/Makefile.am b/contrib/crossrpms/rtems4.7/h8300/Makefile.am
new file mode 100644
index 0000000000..184dc9f327
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/h8300/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = h8300-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/h8300/binutils-sources.add b/contrib/crossrpms/rtems4.7/h8300/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/h8300/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/h8300/gcc-sources.add b/contrib/crossrpms/rtems4.7/h8300/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/h8300/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add b/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/i386/.cvsignore b/contrib/crossrpms/rtems4.7/i386/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/i386/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/i386/Makefile.am b/contrib/crossrpms/rtems4.7/i386/Makefile.am
new file mode 100644
index 0000000000..89ccd360bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/i386/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = i386-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/i386/binutils-sources.add b/contrib/crossrpms/rtems4.7/i386/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/i386/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/i386/gcc-sources.add b/contrib/crossrpms/rtems4.7/i386/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/i386/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/i386/gdb-sources.add b/contrib/crossrpms/rtems4.7/i386/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/i386/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/m68k/.cvsignore b/contrib/crossrpms/rtems4.7/m68k/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/m68k/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/m68k/Makefile.am b/contrib/crossrpms/rtems4.7/m68k/Makefile.am
new file mode 100644
index 0000000000..73fcd4cf87
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/m68k/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = m68k-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.16.1
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/m68k/binutils-sources.add b/contrib/crossrpms/rtems4.7/m68k/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/m68k/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/m68k/gcc-sources.add b/contrib/crossrpms/rtems4.7/m68k/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/m68k/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add b/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/mips/.cvsignore b/contrib/crossrpms/rtems4.7/mips/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/mips/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/mips/Makefile.am b/contrib/crossrpms/rtems4.7/mips/Makefile.am
new file mode 100644
index 0000000000..ba513155da
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/mips/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = mips-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/mips/binutils-sources.add b/contrib/crossrpms/rtems4.7/mips/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/mips/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/mips/gcc-sources.add b/contrib/crossrpms/rtems4.7/mips/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/mips/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/mips/gdb-sources.add b/contrib/crossrpms/rtems4.7/mips/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/mips/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/powerpc/.cvsignore b/contrib/crossrpms/rtems4.7/powerpc/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/powerpc/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/powerpc/Makefile.am b/contrib/crossrpms/rtems4.7/powerpc/Makefile.am
new file mode 100644
index 0000000000..6b9da74d9b
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/powerpc/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = powerpc-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add b/contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add b/contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add b/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/sh/.cvsignore b/contrib/crossrpms/rtems4.7/sh/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sh/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/sh/Makefile.am b/contrib/crossrpms/rtems4.7/sh/Makefile.am
new file mode 100644
index 0000000000..8ee77f0a35
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sh/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = sh-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/sh/binutils-sources.add b/contrib/crossrpms/rtems4.7/sh/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sh/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/sh/gcc-sources.add b/contrib/crossrpms/rtems4.7/sh/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sh/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/sh/gdb-sources.add b/contrib/crossrpms/rtems4.7/sh/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sh/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/sparc/.cvsignore b/contrib/crossrpms/rtems4.7/sparc/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sparc/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.7/sparc/Makefile.am b/contrib/crossrpms/rtems4.7/sparc/Makefile.am
new file mode 100644
index 0000000000..42a17b79b5
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sparc/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = sparc-rtems4.7
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = @VERSION@
+NEWLIB_VERS = 1.14.0
+include $(top_srcdir)/rtems4.7/gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.4
+GDB_RPMREL = @VERSION@
+include $(top_srcdir)/rtems4.7/gdb.am
diff --git a/contrib/crossrpms/rtems4.7/sparc/binutils-sources.add b/contrib/crossrpms/rtems4.7/sparc/binutils-sources.add
new file mode 100644
index 0000000000..2999c3c6a2
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sparc/binutils-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+# Patch0: binutils-2.16.1-rtems-20050708.diff
diff --git a/contrib/crossrpms/rtems4.7/sparc/gcc-sources.add b/contrib/crossrpms/rtems4.7/sparc/gcc-sources.add
new file mode 100644
index 0000000000..dfeb3538ed
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sparc/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Patch0: gcc-4.1.0-rtems-mips.diff
+Patch0: gcc-core-4.1.1-rtems-20060626.diff
+# @PATCH0@
+%{?!_with_sources:NoSource: 0}
+
+%if %build_cxx
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?!_with_sources:NoSource: 1}
+%endif
+
+%if %build_f95
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?!_with_sources:NoSource: 2}
+%endif
+
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?!_with_sources:NoSource: 3}
+%endif
+
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?!_with_sources:NoSource: 4}
+%endif
+
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?!_with_sources:NoSource: 5}
+%endif
+
+%if %build_newlib
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+@PATCH50@
+%{?!_with_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add b/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add
new file mode 100644
index 0000000000..12125802fd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?!_with_sources:NoSource: 0}
+Patch0: gdb-6.4-rtems-20060311.diff
diff --git a/contrib/crossrpms/rtems4.7/tic4x/.cvsignore b/contrib/crossrpms/rtems4.7/tic4x/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.7/tic4x/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in