This commit is contained in:
Ralf Corsepius
2006-10-21 10:41:01 +00:00
parent c43121f3f6
commit 3096ba2351
64 changed files with 942 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,15 @@
# $Id$
SUBDIRS =
SUBDIRS += arm
SUBDIRS += avr
SUBDIRS += bfin
SUBDIRS += h8300
SUBDIRS += i386
SUBDIRS += m68k
SUBDIRS += mips
SUBDIRS += mipstx39
SUBDIRS += powerpc
SUBDIRS += sh
SUBDIRS += sparc
SUBDIRS += tic4x

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = arm-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = avr-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.0.3
GCC_RPMREL = 3
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS +=
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,22 @@
# $Id$
TARGET = bfin-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 1
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 1
NEWLIB_VERS = 1.14.0
include ../gcc.am
## GCC_OPTS += --languages=cxx
## I really would like to get these options passed through but do not
## know how yet. So I am building with this command.
## optargs="--disable-libssp --disable-libstdcxx-pch" rpmbuild -ba XXX.spec
GDB_VERS = 6.5
GDB_RPMREL = 1
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-bfinrtems-20060810a.diff

View File

@@ -0,0 +1,28 @@
EXTRA_DIST += binutils-sources.add
BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add
BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add
$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binutils-sources.add
cat $(BINUTILS_SUBPACKAGES) | sed \
-e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
-e "/--with-sysroot/d" \
> $(TARGET)-binutils.spec.in
CLEANFILES += $(TARGET)-binutils.spec.in
@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
$(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) > $@
CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
EXTRA_DIST += $(BINUTILS_SUBPACKAGES)

View File

@@ -0,0 +1,9 @@
%if "%{gcc_version}" < "4.1.0"
sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
gcc-%{gcc_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
%else
sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
gcc-%{gcc_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
%endif
mv gcc-%{gcc_version}/gcc/version.c~ gcc-%{gcc_version}/gcc/version.c

View File

@@ -0,0 +1,42 @@
EXTRA_DIST += $(srcdir)/../gcc-prep.add
EXTRA_DIST += $(srcdir)/gcc-sources.add
GCC_OPTS = --languages=c --newlib
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/gccnewlib.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/prep.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/build.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/install.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
GCC_SUBPACKAGES += $(top_srcdir)/common/clean.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gcc.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gcc.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-c++.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gfortran.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gfortran.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-objc.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-newlib.add
GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-newlib.add
$(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add $(srcdir)/../gcc-prep.add
cat $(GCC_SUBPACKAGES) | sed \
-e "/[@]SOURCES[@]/r $(srcdir)/gcc-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "/[@]PREP[@]/r $(srcdir)/../gcc-prep.add" \
-e "/[@]PREP[@]/d" \
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
-e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
-e "/--with-sysroot/d" \
-e "/[@]tool_target[@]-sys-root/d" \
-e "/[@]tool_target[@]-w32api-sys-root/d" \
> $(TARGET)-gcc.spec.in
CLEANFILES += $(TARGET)-gcc.spec.in
@rpmprefix@$(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
$(MKSPEC) $(TARGET)-gcc.spec.in | $(SPECSTRIP) $(GCC_OPTS) > $@
CLEANFILES += @rpmprefix@$(TARGET)-gcc.spec
noinst_DATA += @rpmprefix@$(TARGET)-gcc.spec
EXTRA_DIST += $(GCC_SUBPACKAGES)

View File

@@ -0,0 +1,28 @@
EXTRA_DIST += gdb-sources.add
GDB_SUBPACKAGES = $(top_srcdir)/common/common.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/gdb.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/prep.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/build.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/install.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/rpm-install.add
GDB_SUBPACKAGES += $(top_srcdir)/common/clean.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/target-gdb.add
GDB_SUBPACKAGES += $(top_srcdir)/gdb/base-gdb.add
$(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am $(srcdir)/gdb-sources.add
cat $(GDB_SUBPACKAGES) | sed \
-e "/[@]SOURCES[@]/r $(srcdir)/gdb-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "s/[@]GDB_VERS[@]/$(GDB_VERS)/g" \
-e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \
-e "/--with-sysroot/d" \
> $(TARGET)-gdb.spec.in
CLEANFILES += $(TARGET)-gdb.spec.in
@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in
$(MKSPEC) $(TARGET)-gdb.spec.in | $(SPECSTRIP) > $@
CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec
noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec
EXTRA_DIST += $(GDB_SUBPACKAGES)

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = h8300-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 6
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,8 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif
%if "%{binutils_version}" == "2.17"
Patch0: binutils-2.17-rtems-20060815.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = i386-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = m68k-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,8 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif
%if "%{binutils_version}" == "2.17"
Patch0: binutils-2.17-rtems-20060815.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = mips-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,10 @@
# $Id$
TARGET = mipstx39-rtems4.8
include $(top_srcdir)/mkspec.am
# We only want a gdb with a tx39 simulator in it. We share the other tools
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = powerpc-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = sh-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = sparc-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 4.1.1
GCC_RPMREL = 5
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.5
GDB_RPMREL = 2
include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,19 @@
# $Id$
TARGET = tic4x-rtems4.8
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = 3
include ../binutils.am
GCC_VERS = 3.4.6
GCC_RPMREL = 2
NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS +=
### GDB-6.4 doesn't support the tic4x
## GDB_VERS = 6.4
## include ../gdb.am

View File

@@ -0,0 +1,5 @@
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{binutils_version}" == "2.16.1"
Patch0: binutils-2.16.1-rtems-20050708.diff
%endif

View File

@@ -0,0 +1,41 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
%if "%{gcc_version}" == "4.0.3"
Patch0: gcc-core-4.0.3-rtems-20060822.diff
%endif
%if "%{gcc_version}" == "4.1.1"
Patch0: gcc-core-4.1.1-rtems-20060909.diff
%endif
%{?_without_sources:NoSource: 0}
%if %build_cxx
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 1}
%endif
%if %build_f95
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 2}
%endif
%if %build_gcj
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 3}
%endif
%if %build_gnat
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 4}
%endif
%if %build_objc
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
%{?_without_sources:NoSource: 5}
%endif
%if %build_newlib
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
%if "%{newlib_version}" == "1.14.0"
Patch50: newlib-1.14.0-rtems4.7-20061019.diff
%endif
%{?_without_sources:NoSource: 50}
%endif

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff