Index: ntrib/crossrpms/rtems4.10/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Makefile
-Makefile.in
Index: ntrib/crossrpms/rtems4.10/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,14 +1,0 @@
-# $Id$
-
-SUBDIRS =
-SUBDIRS += arm
-SUBDIRS += avr
-SUBDIRS += bfin
-SUBDIRS += h8300
-SUBDIRS += i386
-SUBDIRS += m68k
-SUBDIRS += mips
-SUBDIRS += mipstx39
-SUBDIRS += powerpc
-SUBDIRS += sh
-SUBDIRS += sparc
Index: ntrib/crossrpms/rtems4.10/arm/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/arm/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/arm/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/arm/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = arm-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/arm/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/arm/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/arm/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/arm/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/arm/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/arm/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/arm/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/arm/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-arm-rtems4.10-binutils
-Summary:	Binutils for target arm-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target arm-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "arm-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=arm-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# arm-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-arm-rtems4.10-binutils
-# Summary:      rtems binutils for arm-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-arm-rtems4.10-binutils
-GNU binutils targetting arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/arm-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/arm-rtems4.10-*
-
-%dir %{_exec_prefix}/arm-rtems4.10
-%dir %{_exec_prefix}/arm-rtems4.10/bin
-%{_exec_prefix}/arm-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/arm-rtems4.10/lib
-%{_exec_prefix}/arm-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-arm-rtems4.10-cpukit
-Summary:      	arm-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-arm-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for arm-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=arm-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/arm-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/arm-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-arm-rtems4.10-cpukit
-GNU cc compiler for arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/arm-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-arm-rtems4.10-gcc
-Summary:      	arm-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-arm-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-arm-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-arm-rtems4.10-binutils
-Requires:	rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for arm-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=arm-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/arm-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/arm-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/arm-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/arm-rtems4.10-arm-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/arm-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/arm-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/arm-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/arm-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/arm-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/arm-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/arm-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/arm-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/arm-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-arm-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-arm-rtems4.10-gcc
-# Summary:        GNU cc compiler for arm-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-arm-rtems4.10-binutils
-# Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-arm-rtems4.10-gcc
-GNU cc compiler for arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/arm-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/arm-rtems4.10-cpp.1*
-%{_mandir}/man1/arm-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/arm-rtems4.10-cpp%{_exeext}
-%{_bindir}/arm-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/arm-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/arm-rtems4.10-gcov%{_exeext}
-%{_bindir}/arm-rtems4.10-gccbug
-
-%dir %{gcclib}/arm-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "arm-rtems4.10" != "bfin-rtems4.10"
-%if "arm-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/arm-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/arm-rtems4.10
-%dir %{gccexec}/arm-rtems4.10/%{gcc_version}
-%{gccexec}/arm-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/arm-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-arm-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-arm-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for arm-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-arm-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-arm-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-arm-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-arm-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-arm-rtems4.10-gcc-c++
-GCC c++ compiler for arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/arm-rtems4.10-g++.1*
-
-%{_bindir}/arm-rtems4.10-c++%{_exeext}
-%{_bindir}/arm-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/arm-rtems4.10
-%dir %{gccexec}/arm-rtems4.10/%{gcc_version}
-%{gccexec}/arm-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/arm-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/arm-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/arm-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-arm-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-arm-rtems4.10-newlib
-Summary:      	C Library (newlib) for arm-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-arm-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-arm-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-arm-rtems4.10-newlib
-Newlib C Library for arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/arm-rtems4.10
-%{_exec_prefix}/arm-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-arm-rtems4.10-gdb
-Summary:	Gdb for target arm-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target arm-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=arm-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# arm-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-arm-rtems4.10-gdb
-# Summary:      rtems gdb for arm-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-arm-rtems4.10-gdb
-GNU gdb targetting arm-rtems4.10.
-
-%files -n rtems-4.10-arm-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/arm-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/arm-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/avr/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/avr/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/avr/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/avr/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = avr-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS +=
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/avr/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/avr/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/avr/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/avr/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/avr/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/avr/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/avr/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/avr/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-avr-rtems4.10-binutils
-Summary:	Binutils for target avr-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target avr-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "avr-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=avr-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# avr-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-avr-rtems4.10-binutils
-# Summary:      rtems binutils for avr-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-avr-rtems4.10-binutils
-GNU binutils targetting avr-rtems4.10.
-
-%files -n rtems-4.10-avr-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/avr-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/avr-rtems4.10-*
-
-%dir %{_exec_prefix}/avr-rtems4.10
-%dir %{_exec_prefix}/avr-rtems4.10/bin
-%{_exec_prefix}/avr-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/avr-rtems4.10/lib
-%{_exec_prefix}/avr-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-avr-rtems4.10-cpukit
-Summary:      	avr-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-avr-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for avr-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=avr-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/avr-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/avr-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/avr-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/avr-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-avr-rtems4.10-cpukit
-GNU cc compiler for avr-rtems4.10.
-
-%files -n rtems-4.10-avr-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/avr-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,543 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-avr-rtems4.10-gcc
-Summary:      	avr-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-avr-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-avr-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-avr-rtems4.10-binutils
-Requires:	rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for avr-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=avr-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/avr-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/avr-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/avr-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/avr-rtems4.10-avr-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/avr-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/avr-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/avr-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/avr-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/avr-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/avr-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/avr-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/avr-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/avr-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/avr-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/avr-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-avr-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-avr-rtems4.10-gcc
-# Summary:        GNU cc compiler for avr-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-avr-rtems4.10-binutils
-# Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-avr-rtems4.10-gcc
-GNU cc compiler for avr-rtems4.10.
-
-%files -n rtems-4.10-avr-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/avr-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/avr-rtems4.10-cpp.1*
-%{_mandir}/man1/avr-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/avr-rtems4.10-cpp%{_exeext}
-%{_bindir}/avr-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/avr-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/avr-rtems4.10-gcov%{_exeext}
-%{_bindir}/avr-rtems4.10-gccbug
-
-%dir %{gcclib}/avr-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "avr-rtems4.10" != "bfin-rtems4.10"
-%if "avr-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/avr-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/avr-rtems4.10
-%dir %{gccexec}/avr-rtems4.10/%{gcc_version}
-%{gccexec}/avr-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/avr-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-
-
-
-# ==============================================================
-# rtems-4.10-avr-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-avr-rtems4.10-newlib
-Summary:      	C Library (newlib) for avr-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-avr-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-avr-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-avr-rtems4.10-newlib
-Newlib C Library for avr-rtems4.10.
-
-%files -n rtems-4.10-avr-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/avr-rtems4.10
-%{_exec_prefix}/avr-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-avr-rtems4.10-gdb
-Summary:	Gdb for target avr-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target avr-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=avr-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libavr-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# avr-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-avr-rtems4.10-gdb
-# Summary:      rtems gdb for avr-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-avr-rtems4.10-gdb
-GNU gdb targetting avr-rtems4.10.
-
-%files -n rtems-4.10-avr-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/avr-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/avr-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/bfin/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/bfin/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,31 +1,0 @@
-# $Id$
-
-TARGET = bfin-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS +=
-
-GDB_VERS = 6.5
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-### bfin's GCC is too broken to be usable
-## CPUKIT_VERS = 4.7.99.1
-## CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-## CPUKIT_RPMREL = 1%{?dist}
-## include ../cpukit.am
-## CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/bfin/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/bfin/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/bfin/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/bfin/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.5-bfinrtems-20071114.diff
Index: ntrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-bfin-rtems4.10-binutils
-Summary:	Binutils for target bfin-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target bfin-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "bfin-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=bfin-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# bfin-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-bfin-rtems4.10-binutils
-# Summary:      rtems binutils for bfin-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-bfin-rtems4.10-binutils
-GNU binutils targetting bfin-rtems4.10.
-
-%files -n rtems-4.10-bfin-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/bfin-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/bfin-rtems4.10-*
-
-%dir %{_exec_prefix}/bfin-rtems4.10
-%dir %{_exec_prefix}/bfin-rtems4.10/bin
-%{_exec_prefix}/bfin-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/bfin-rtems4.10/lib
-%{_exec_prefix}/bfin-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,543 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-bfin-rtems4.10-gcc
-Summary:      	bfin-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-bfin-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-bfin-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-bfin-rtems4.10-binutils
-Requires:	rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for bfin-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=bfin-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/bfin-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/bfin-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/bfin-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/bfin-rtems4.10-bfin-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/bfin-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/bfin-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/bfin-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/bfin-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/bfin-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/bfin-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/bfin-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/bfin-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/bfin-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/bfin-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/bfin-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-bfin-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-bfin-rtems4.10-gcc
-# Summary:        GNU cc compiler for bfin-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-bfin-rtems4.10-binutils
-# Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-bfin-rtems4.10-gcc
-GNU cc compiler for bfin-rtems4.10.
-
-%files -n rtems-4.10-bfin-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/bfin-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/bfin-rtems4.10-cpp.1*
-%{_mandir}/man1/bfin-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/bfin-rtems4.10-cpp%{_exeext}
-%{_bindir}/bfin-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/bfin-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/bfin-rtems4.10-gcov%{_exeext}
-%{_bindir}/bfin-rtems4.10-gccbug
-
-%dir %{gcclib}/bfin-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "bfin-rtems4.10" != "bfin-rtems4.10"
-%if "bfin-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/bfin-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/bfin-rtems4.10
-%dir %{gccexec}/bfin-rtems4.10/%{gcc_version}
-%{gccexec}/bfin-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/bfin-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-
-
-
-# ==============================================================
-# rtems-4.10-bfin-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-bfin-rtems4.10-newlib
-Summary:      	C Library (newlib) for bfin-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-bfin-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-bfin-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-bfin-rtems4.10-newlib
-Newlib C Library for bfin-rtems4.10.
-
-%files -n rtems-4.10-bfin-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/bfin-rtems4.10
-%{_exec_prefix}/bfin-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,231 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.5
-%define gdb_rpmvers %{expand:%(echo 6.5 | tr - _)} 
-
-Name:		rtems-4.10-bfin-rtems4.10-gdb
-Summary:	Gdb for target bfin-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-Patch0:		gdb-6.5-bfinrtems-20071114.diff
-
-%description
-GDB for target bfin-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=bfin-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libbfin-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# bfin-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-bfin-rtems4.10-gdb
-# Summary:      rtems gdb for bfin-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-bfin-rtems4.10-gdb
-GNU gdb targetting bfin-rtems4.10.
-
-%files -n rtems-4.10-bfin-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/bfin-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/bfin-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/binutils.am
===================================================================
--- contrib/crossrpms/rtems4.10/binutils.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,31 +1,0 @@
-EXTRA_DIST += binutils-sources.add
-
-BINUTILS_OPTS =
-
-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_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \
-	  -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
-	  -e "/--with-sysroot/d" \
-	  | $(MKSPEC0) > $(TARGET)-binutils.spec.in
-CLEANFILES += $(TARGET)-binutils.spec.in
-
-@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
-	$(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) $(BINUTILS_OPTS) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
-noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
-
-EXTRA_DIST += $(BINUTILS_SUBPACKAGES)
Index: ntrib/crossrpms/rtems4.10/cpukit-prep.add
===================================================================
--- contrib/crossrpms/rtems4.10/cpukit-prep.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,1 +1,0 @@
-
Index: ntrib/crossrpms/rtems4.10/cpukit.am
===================================================================
--- contrib/crossrpms/rtems4.10/cpukit.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,35 +1,0 @@
-EXTRA_DIST += $(srcdir)/../rtems-prep.add
-EXTRA_DIST += $(srcdir)/rtems-sources.add
-
-CPUKIT_OPTS =
-
-CPUKIT_SUBPACKAGES = $(top_srcdir)/common/common.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/cpukit.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/prep.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/build.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/install.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/rpm-install.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/common/clean.add
-CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/target-cpukit.add
-
-$(TARGET)-cpukit.spec.in: $(CPUKIT_SUBPACKAGES) Makefile.am $(srcdir)/cpukit-sources.add $(srcdir)/../cpukit-prep.add
-	cat $(CPUKIT_SUBPACKAGES) | sed \
-	  -e "/[@]SOURCES[@]/r $(srcdir)/cpukit-sources.add" \
-	  -e "/[@]SOURCES[@]/d" \
-	  -e "/[@]PREP[@]/r $(srcdir)/../cpukit-prep.add" \
-	  -e "/[@]PREP[@]/d" \
-	  -e "s/[@]CPUKIT_VERS[@]/$(CPUKIT_VERS)/g" \
-	  -e "s/[@]CPUKIT_PKGVERS[@]/$(CPUKIT_PKGVERS)/g" \
-	  -e "s/[@]CPUKIT_RPMREL[@]/$(CPUKIT_RPMREL)/g" \
-	  -e "/--with-sysroot/d" \
-	  -e "/[@]tool_target[@]-sys-root/d" \
-	  -e "/[@]tool_target[@]-w32api-sys-root/d" \
-	  | $(MKSPEC0) > $(TARGET)-cpukit.spec.in
-CLEANFILES += $(TARGET)-cpukit.spec.in
-
-@rpmprefix@$(TARGET)-cpukit.spec: $(TARGET)-cpukit.spec.in
-	$(MKSPEC) $(TARGET)-cpukit.spec.in | $(SPECSTRIP) $(CPUKIT_OPTS) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-cpukit.spec
-noinst_DATA += @rpmprefix@$(TARGET)-cpukit.spec
-
-EXTRA_DIST += $(CPUKIT_SUBPACKAGES)
Index: ntrib/crossrpms/rtems4.10/gcc-prep.add
===================================================================
--- contrib/crossrpms/rtems4.10/gcc-prep.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,9 +1,0 @@
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
Index: ntrib/crossrpms/rtems4.10/gcc.am
===================================================================
--- contrib/crossrpms/rtems4.10/gcc.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,43 +1,0 @@
-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_PKGVERS[@]/$(GCC_PKGVERS)/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" \
-	  | $(MKSPEC0) > $(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)
Index: ntrib/crossrpms/rtems4.10/gdb.am
===================================================================
--- contrib/crossrpms/rtems4.10/gdb.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,31 +1,0 @@
-EXTRA_DIST += gdb-sources.add
-
-GDB_OPTS =
-
-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_PKGVERS[@]/$(GDB_PKGVERS)/g" \
-	  -e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \
-	  -e "/--with-sysroot/d" \
-	  | $(MKSPEC0) > $(TARGET)-gdb.spec.in
-CLEANFILES += $(TARGET)-gdb.spec.in
-
-@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in
-	$(MKSPEC) $(TARGET)-gdb.spec.in | $(SPECSTRIP) $(GDB_OPTS) > $@
-CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec
-noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec
-
-EXTRA_DIST += $(GDB_SUBPACKAGES)
Index: ntrib/crossrpms/rtems4.10/h8300/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/h8300/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = h8300-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/h8300/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/h8300/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/h8300/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/h8300/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-h8300-rtems4.10-binutils
-Summary:	Binutils for target h8300-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target h8300-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "h8300-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=h8300-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# h8300-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-h8300-rtems4.10-binutils
-# Summary:      rtems binutils for h8300-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-h8300-rtems4.10-binutils
-GNU binutils targetting h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/h8300-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/h8300-rtems4.10-*
-
-%dir %{_exec_prefix}/h8300-rtems4.10
-%dir %{_exec_prefix}/h8300-rtems4.10/bin
-%{_exec_prefix}/h8300-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/h8300-rtems4.10/lib
-%{_exec_prefix}/h8300-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-h8300-rtems4.10-cpukit
-Summary:      	h8300-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-h8300-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for h8300-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=h8300-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/h8300-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/h8300-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/h8300-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/h8300-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-h8300-rtems4.10-cpukit
-GNU cc compiler for h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/h8300-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-h8300-rtems4.10-gcc
-Summary:      	h8300-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-h8300-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-h8300-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-h8300-rtems4.10-binutils
-Requires:	rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for h8300-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=h8300-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/h8300-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/h8300-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/h8300-rtems4.10-h8300-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/h8300-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/h8300-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/h8300-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/h8300-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/h8300-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/h8300-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/h8300-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/h8300-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/h8300-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/h8300-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/h8300-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-h8300-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-h8300-rtems4.10-gcc
-# Summary:        GNU cc compiler for h8300-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-h8300-rtems4.10-binutils
-# Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-h8300-rtems4.10-gcc
-GNU cc compiler for h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/h8300-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/h8300-rtems4.10-cpp.1*
-%{_mandir}/man1/h8300-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/h8300-rtems4.10-cpp%{_exeext}
-%{_bindir}/h8300-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/h8300-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/h8300-rtems4.10-gcov%{_exeext}
-%{_bindir}/h8300-rtems4.10-gccbug
-
-%dir %{gcclib}/h8300-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "h8300-rtems4.10" != "bfin-rtems4.10"
-%if "h8300-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/h8300-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/h8300-rtems4.10
-%dir %{gccexec}/h8300-rtems4.10/%{gcc_version}
-%{gccexec}/h8300-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/h8300-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-h8300-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-h8300-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for h8300-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-h8300-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-h8300-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-h8300-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-h8300-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-h8300-rtems4.10-gcc-c++
-GCC c++ compiler for h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/h8300-rtems4.10-g++.1*
-
-%{_bindir}/h8300-rtems4.10-c++%{_exeext}
-%{_bindir}/h8300-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/h8300-rtems4.10
-%dir %{gccexec}/h8300-rtems4.10/%{gcc_version}
-%{gccexec}/h8300-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/h8300-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-h8300-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-h8300-rtems4.10-newlib
-Summary:      	C Library (newlib) for h8300-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-h8300-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-h8300-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-h8300-rtems4.10-newlib
-Newlib C Library for h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/h8300-rtems4.10
-%{_exec_prefix}/h8300-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-h8300-rtems4.10-gdb
-Summary:	Gdb for target h8300-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target h8300-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=h8300-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libh8300-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# h8300-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-h8300-rtems4.10-gdb
-# Summary:      rtems gdb for h8300-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-h8300-rtems4.10-gdb
-GNU gdb targetting h8300-rtems4.10.
-
-%files -n rtems-4.10-h8300-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/h8300-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/h8300-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/i386/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/i386/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/i386/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/i386/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = i386-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/i386/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/i386/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/i386/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/i386/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/i386/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/i386/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/i386/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/i386/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-i386-rtems4.10-binutils
-Summary:	Binutils for target i386-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target i386-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "i386-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=i386-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# i386-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-i386-rtems4.10-binutils
-# Summary:      rtems binutils for i386-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-i386-rtems4.10-binutils
-GNU binutils targetting i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/i386-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/i386-rtems4.10-*
-
-%dir %{_exec_prefix}/i386-rtems4.10
-%dir %{_exec_prefix}/i386-rtems4.10/bin
-%{_exec_prefix}/i386-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/i386-rtems4.10/lib
-%{_exec_prefix}/i386-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-i386-rtems4.10-cpukit
-Summary:      	i386-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-i386-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for i386-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=i386-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/i386-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/i386-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-i386-rtems4.10-cpukit
-GNU cc compiler for i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/i386-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-i386-rtems4.10-gcc
-Summary:      	i386-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-i386-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-i386-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-i386-rtems4.10-binutils
-Requires:	rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for i386-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=i386-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/i386-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/i386-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/i386-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/i386-rtems4.10-i386-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/i386-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/i386-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/i386-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/i386-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/i386-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/i386-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/i386-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/i386-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/i386-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-i386-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-i386-rtems4.10-gcc
-# Summary:        GNU cc compiler for i386-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-i386-rtems4.10-binutils
-# Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-i386-rtems4.10-gcc
-GNU cc compiler for i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/i386-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/i386-rtems4.10-cpp.1*
-%{_mandir}/man1/i386-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/i386-rtems4.10-cpp%{_exeext}
-%{_bindir}/i386-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/i386-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/i386-rtems4.10-gcov%{_exeext}
-%{_bindir}/i386-rtems4.10-gccbug
-
-%dir %{gcclib}/i386-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "i386-rtems4.10" != "bfin-rtems4.10"
-%if "i386-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/i386-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/i386-rtems4.10
-%dir %{gccexec}/i386-rtems4.10/%{gcc_version}
-%{gccexec}/i386-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/i386-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-i386-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-i386-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for i386-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-i386-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-i386-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-i386-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-i386-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-i386-rtems4.10-gcc-c++
-GCC c++ compiler for i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/i386-rtems4.10-g++.1*
-
-%{_bindir}/i386-rtems4.10-c++%{_exeext}
-%{_bindir}/i386-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/i386-rtems4.10
-%dir %{gccexec}/i386-rtems4.10/%{gcc_version}
-%{gccexec}/i386-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/i386-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/i386-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/i386-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-i386-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-i386-rtems4.10-newlib
-Summary:      	C Library (newlib) for i386-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-i386-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-i386-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-i386-rtems4.10-newlib
-Newlib C Library for i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/i386-rtems4.10
-%{_exec_prefix}/i386-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-i386-rtems4.10-gdb
-Summary:	Gdb for target i386-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target i386-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=i386-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libi386-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# i386-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-i386-rtems4.10-gdb
-# Summary:      rtems gdb for i386-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-i386-rtems4.10-gdb
-GNU gdb targetting i386-rtems4.10.
-
-%files -n rtems-4.10-i386-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/i386-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/i386-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/m68k/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/m68k/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = m68k-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/m68k/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/m68k/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/m68k/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/m68k/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-m68k-rtems4.10-binutils
-Summary:	Binutils for target m68k-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target m68k-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "m68k-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=m68k-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# m68k-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-m68k-rtems4.10-binutils
-# Summary:      rtems binutils for m68k-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-m68k-rtems4.10-binutils
-GNU binutils targetting m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/m68k-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/m68k-rtems4.10-*
-
-%dir %{_exec_prefix}/m68k-rtems4.10
-%dir %{_exec_prefix}/m68k-rtems4.10/bin
-%{_exec_prefix}/m68k-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/m68k-rtems4.10/lib
-%{_exec_prefix}/m68k-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-m68k-rtems4.10-cpukit
-Summary:      	m68k-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-m68k-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for m68k-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=m68k-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/m68k-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/m68k-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/m68k-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/m68k-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-m68k-rtems4.10-cpukit
-GNU cc compiler for m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/m68k-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-m68k-rtems4.10-gcc
-Summary:      	m68k-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-m68k-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-m68k-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-m68k-rtems4.10-binutils
-Requires:	rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for m68k-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=m68k-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/m68k-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/m68k-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/m68k-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/m68k-rtems4.10-m68k-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/m68k-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/m68k-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/m68k-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/m68k-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/m68k-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/m68k-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/m68k-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/m68k-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/m68k-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/m68k-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/m68k-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-m68k-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-m68k-rtems4.10-gcc
-# Summary:        GNU cc compiler for m68k-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-m68k-rtems4.10-binutils
-# Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-m68k-rtems4.10-gcc
-GNU cc compiler for m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/m68k-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/m68k-rtems4.10-cpp.1*
-%{_mandir}/man1/m68k-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/m68k-rtems4.10-cpp%{_exeext}
-%{_bindir}/m68k-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/m68k-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/m68k-rtems4.10-gcov%{_exeext}
-%{_bindir}/m68k-rtems4.10-gccbug
-
-%dir %{gcclib}/m68k-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "m68k-rtems4.10" != "bfin-rtems4.10"
-%if "m68k-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/m68k-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/m68k-rtems4.10
-%dir %{gccexec}/m68k-rtems4.10/%{gcc_version}
-%{gccexec}/m68k-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/m68k-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-m68k-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-m68k-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for m68k-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-m68k-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-m68k-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-m68k-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-m68k-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-m68k-rtems4.10-gcc-c++
-GCC c++ compiler for m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/m68k-rtems4.10-g++.1*
-
-%{_bindir}/m68k-rtems4.10-c++%{_exeext}
-%{_bindir}/m68k-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/m68k-rtems4.10
-%dir %{gccexec}/m68k-rtems4.10/%{gcc_version}
-%{gccexec}/m68k-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/m68k-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/m68k-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/m68k-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-m68k-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-m68k-rtems4.10-newlib
-Summary:      	C Library (newlib) for m68k-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-m68k-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-m68k-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-m68k-rtems4.10-newlib
-Newlib C Library for m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/m68k-rtems4.10
-%{_exec_prefix}/m68k-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-m68k-rtems4.10-gdb
-Summary:	Gdb for target m68k-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target m68k-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=m68k-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm68k-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# m68k-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-m68k-rtems4.10-gdb
-# Summary:      rtems gdb for m68k-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-m68k-rtems4.10-gdb
-GNU gdb targetting m68k-rtems4.10.
-
-%files -n rtems-4.10-m68k-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/m68k-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/m68k-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/mips/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/mips/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/mips/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/mips/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = mips-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/mips/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/mips/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/mips/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/mips/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/mips/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/mips/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/mips/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/mips/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-mips-rtems4.10-binutils
-Summary:	Binutils for target mips-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target mips-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "mips-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=mips-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# mips-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-mips-rtems4.10-binutils
-# Summary:      rtems binutils for mips-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-mips-rtems4.10-binutils
-GNU binutils targetting mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/mips-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/mips-rtems4.10-*
-
-%dir %{_exec_prefix}/mips-rtems4.10
-%dir %{_exec_prefix}/mips-rtems4.10/bin
-%{_exec_prefix}/mips-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/mips-rtems4.10/lib
-%{_exec_prefix}/mips-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-mips-rtems4.10-cpukit
-Summary:      	mips-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-mips-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for mips-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=mips-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/mips-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/mips-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/mips-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/mips-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-mips-rtems4.10-cpukit
-GNU cc compiler for mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/mips-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-mips-rtems4.10-gcc
-Summary:      	mips-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-mips-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-mips-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-mips-rtems4.10-binutils
-Requires:	rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for mips-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=mips-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/mips-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/mips-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/mips-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/mips-rtems4.10-mips-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/mips-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/mips-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/mips-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/mips-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/mips-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/mips-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/mips-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/mips-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/mips-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/mips-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/mips-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-mips-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-mips-rtems4.10-gcc
-# Summary:        GNU cc compiler for mips-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-mips-rtems4.10-binutils
-# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-mips-rtems4.10-gcc
-GNU cc compiler for mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/mips-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/mips-rtems4.10-cpp.1*
-%{_mandir}/man1/mips-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/mips-rtems4.10-cpp%{_exeext}
-%{_bindir}/mips-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/mips-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/mips-rtems4.10-gcov%{_exeext}
-%{_bindir}/mips-rtems4.10-gccbug
-
-%dir %{gcclib}/mips-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "mips-rtems4.10" != "bfin-rtems4.10"
-%if "mips-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/mips-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/mips-rtems4.10
-%dir %{gccexec}/mips-rtems4.10/%{gcc_version}
-%{gccexec}/mips-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/mips-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-mips-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-mips-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for mips-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-mips-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-mips-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-mips-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-mips-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-mips-rtems4.10-gcc-c++
-GCC c++ compiler for mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/mips-rtems4.10-g++.1*
-
-%{_bindir}/mips-rtems4.10-c++%{_exeext}
-%{_bindir}/mips-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/mips-rtems4.10
-%dir %{gccexec}/mips-rtems4.10/%{gcc_version}
-%{gccexec}/mips-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/mips-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/mips-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/mips-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-mips-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-mips-rtems4.10-newlib
-Summary:      	C Library (newlib) for mips-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-mips-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-mips-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-mips-rtems4.10-newlib
-Newlib C Library for mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/mips-rtems4.10
-%{_exec_prefix}/mips-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-mips-rtems4.10-gdb
-Summary:	Gdb for target mips-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target mips-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=mips-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmips-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# mips-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-mips-rtems4.10-gdb
-# Summary:      rtems gdb for mips-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-mips-rtems4.10-gdb
-GNU gdb targetting mips-rtems4.10.
-
-%files -n rtems-4.10-mips-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/mips-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/mips-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/mipstx39/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/mipstx39/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/mipstx39/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/mipstx39/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,12 +1,0 @@
-# $Id$
-
-TARGET = mipstx39-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-# We only want a gdb with a tx39 simulator in it.  We share the other tools
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
Index: ntrib/crossrpms/rtems4.10/mipstx39/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/mipstx39/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-mipstx39-rtems4.10-gdb
-Summary:	Gdb for target mipstx39-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target mipstx39-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=mipstx39-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmipstx39-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# mipstx39-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-mipstx39-rtems4.10-gdb
-# Summary:      rtems gdb for mipstx39-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-mipstx39-rtems4.10-gdb
-GNU gdb targetting mipstx39-rtems4.10.
-
-%files -n rtems-4.10-mipstx39-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/mipstx39-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/mipstx39-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/powerpc/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/powerpc/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = powerpc-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/powerpc/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/powerpc/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/powerpc/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/powerpc/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-powerpc-rtems4.10-binutils
-Summary:	Binutils for target powerpc-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target powerpc-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "powerpc-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=powerpc-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# powerpc-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-powerpc-rtems4.10-binutils
-# Summary:      rtems binutils for powerpc-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-powerpc-rtems4.10-binutils
-GNU binutils targetting powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/powerpc-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/powerpc-rtems4.10-*
-
-%dir %{_exec_prefix}/powerpc-rtems4.10
-%dir %{_exec_prefix}/powerpc-rtems4.10/bin
-%{_exec_prefix}/powerpc-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/powerpc-rtems4.10/lib
-%{_exec_prefix}/powerpc-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-powerpc-rtems4.10-cpukit
-Summary:      	powerpc-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-powerpc-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for powerpc-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=powerpc-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/powerpc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/powerpc-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/powerpc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/powerpc-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-powerpc-rtems4.10-cpukit
-GNU cc compiler for powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/powerpc-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-powerpc-rtems4.10-gcc
-Summary:      	powerpc-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-powerpc-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-powerpc-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-powerpc-rtems4.10-binutils
-Requires:	rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for powerpc-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=powerpc-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/powerpc-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/powerpc-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/powerpc-rtems4.10-powerpc-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/powerpc-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/powerpc-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/powerpc-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/powerpc-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/powerpc-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/powerpc-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/powerpc-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/powerpc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/powerpc-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/powerpc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/powerpc-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-powerpc-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-powerpc-rtems4.10-gcc
-# Summary:        GNU cc compiler for powerpc-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-powerpc-rtems4.10-binutils
-# Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-powerpc-rtems4.10-gcc
-GNU cc compiler for powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/powerpc-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/powerpc-rtems4.10-cpp.1*
-%{_mandir}/man1/powerpc-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/powerpc-rtems4.10-cpp%{_exeext}
-%{_bindir}/powerpc-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/powerpc-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/powerpc-rtems4.10-gcov%{_exeext}
-%{_bindir}/powerpc-rtems4.10-gccbug
-
-%dir %{gcclib}/powerpc-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "powerpc-rtems4.10" != "bfin-rtems4.10"
-%if "powerpc-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/powerpc-rtems4.10
-%dir %{gccexec}/powerpc-rtems4.10/%{gcc_version}
-%{gccexec}/powerpc-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/powerpc-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-powerpc-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-powerpc-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for powerpc-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-powerpc-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-powerpc-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-powerpc-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-powerpc-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-powerpc-rtems4.10-gcc-c++
-GCC c++ compiler for powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/powerpc-rtems4.10-g++.1*
-
-%{_bindir}/powerpc-rtems4.10-c++%{_exeext}
-%{_bindir}/powerpc-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/powerpc-rtems4.10
-%dir %{gccexec}/powerpc-rtems4.10/%{gcc_version}
-%{gccexec}/powerpc-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/powerpc-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-powerpc-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-powerpc-rtems4.10-newlib
-Summary:      	C Library (newlib) for powerpc-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-powerpc-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-powerpc-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-powerpc-rtems4.10-newlib
-Newlib C Library for powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/powerpc-rtems4.10
-%{_exec_prefix}/powerpc-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-powerpc-rtems4.10-gdb
-Summary:	Gdb for target powerpc-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target powerpc-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=powerpc-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpowerpc-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# powerpc-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-powerpc-rtems4.10-gdb
-# Summary:      rtems gdb for powerpc-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-powerpc-rtems4.10-gdb
-GNU gdb targetting powerpc-rtems4.10.
-
-%files -n rtems-4.10-powerpc-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/powerpc-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/powerpc-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/sh/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/sh/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/sh/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/sh/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = sh-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/sh/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sh/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/sh/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sh/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/sh/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sh/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/sh/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sh/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-sh-rtems4.10-binutils
-Summary:	Binutils for target sh-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target sh-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "sh-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=sh-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# sh-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-sh-rtems4.10-binutils
-# Summary:      rtems binutils for sh-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-sh-rtems4.10-binutils
-GNU binutils targetting sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sh-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/sh-rtems4.10-*
-
-%dir %{_exec_prefix}/sh-rtems4.10
-%dir %{_exec_prefix}/sh-rtems4.10/bin
-%{_exec_prefix}/sh-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/sh-rtems4.10/lib
-%{_exec_prefix}/sh-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-sh-rtems4.10-cpukit
-Summary:      	sh-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-sh-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for sh-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=sh-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sh-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/sh-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sh-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/sh-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-sh-rtems4.10-cpukit
-GNU cc compiler for sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/sh-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-sh-rtems4.10-gcc
-Summary:      	sh-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-sh-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-sh-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-sh-rtems4.10-binutils
-Requires:	rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for sh-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=sh-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/sh-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/sh-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/sh-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/sh-rtems4.10-sh-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/sh-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/sh-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/sh-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/sh-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/sh-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/sh-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/sh-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sh-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/sh-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sh-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/sh-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-sh-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-sh-rtems4.10-gcc
-# Summary:        GNU cc compiler for sh-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-sh-rtems4.10-binutils
-# Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-sh-rtems4.10-gcc
-GNU cc compiler for sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sh-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/sh-rtems4.10-cpp.1*
-%{_mandir}/man1/sh-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/sh-rtems4.10-cpp%{_exeext}
-%{_bindir}/sh-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/sh-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/sh-rtems4.10-gcov%{_exeext}
-%{_bindir}/sh-rtems4.10-gccbug
-
-%dir %{gcclib}/sh-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "sh-rtems4.10" != "bfin-rtems4.10"
-%if "sh-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/sh-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/sh-rtems4.10
-%dir %{gccexec}/sh-rtems4.10/%{gcc_version}
-%{gccexec}/sh-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/sh-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-sh-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-sh-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for sh-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-sh-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-sh-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-sh-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-sh-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-sh-rtems4.10-gcc-c++
-GCC c++ compiler for sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/sh-rtems4.10-g++.1*
-
-%{_bindir}/sh-rtems4.10-c++%{_exeext}
-%{_bindir}/sh-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/sh-rtems4.10
-%dir %{gccexec}/sh-rtems4.10/%{gcc_version}
-%{gccexec}/sh-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/sh-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/sh-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/sh-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-sh-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-sh-rtems4.10-newlib
-Summary:      	C Library (newlib) for sh-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-sh-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-sh-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-sh-rtems4.10-newlib
-Newlib C Library for sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/sh-rtems4.10
-%{_exec_prefix}/sh-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-sh-rtems4.10-gdb
-Summary:	Gdb for target sh-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target sh-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=sh-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsh-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# sh-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-sh-rtems4.10-gdb
-# Summary:      rtems gdb for sh-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-sh-rtems4.10-gdb
-GNU gdb targetting sh-rtems4.10.
-
-%files -n rtems-4.10-sh-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sh-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/sh-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
Index: ntrib/crossrpms/rtems4.10/sparc/.cvsignore
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/.cvsignore	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,3 +1,0 @@
-Makefile
-Makefile.in
-*.spec.in
Index: ntrib/crossrpms/rtems4.10/sparc/Makefile.am
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/Makefile.am	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,30 +1,0 @@
-# $Id$
-
-TARGET = sparc-rtems4.10
-
-include $(top_srcdir)/mkspec.am
-
-BINUTILS_VERS = 2.18
-BINUTILS_PKGVERS = $(BINUTILS_VERS)
-BINUTILS_RPMREL = 2%{?dist}
-include ../binutils.am
-BINUTILS_OPTS +=
-
-GCC_VERS = 4.3.2
-GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2%{?dist}
-NEWLIB_VERS = 1.16.0
-include ../gcc.am
-GCC_OPTS += --languages=cxx
-
-GDB_VERS = 6.8
-GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 1%{?dist}
-include ../gdb.am
-GDB_OPTS +=
-
-CPUKIT_VERS = 4.7.99.1
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510
-CPUKIT_RPMREL = 1%{?dist}
-include ../cpukit.am
-CPUKIT_OPTS +=
Index: ntrib/crossrpms/rtems4.10/sparc/binutils-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/binutils-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/sparc/cpukit-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/cpukit-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
Index: ntrib/crossrpms/rtems4.10/sparc/gcc-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/gcc-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,47 +1,0 @@
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if %build_cxx
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_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.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-%endif
Index: ntrib/crossrpms/rtems4.10/sparc/gdb-sources.add
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/gdb-sources.add	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,5 +1,0 @@
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.9-20080429.diff
-%endif
Index: ntrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,255 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define binutils_pkgvers 2.18
-%define binutils_version 2.18
-%define binutils_rpmvers %{expand:%(echo "2.18" | tr - _ )}
-
-Name:		rtems-4.10-sparc-rtems4.10-binutils
-Summary:	Binutils for target sparc-rtems4.10
-Group:		Development/Tools
-Version:	%{binutils_rpmvers}
-Release:	2%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/binutils
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	%{_host_rpmprefix}gcc
-
-%if "%{binutils_version}" >= "2.18"
-# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires:	texinfo >= 4.2
-%else
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-%endif
-BuildRequires:	flex
-BuildRequires:	bison
-
-Requires:	rtems-4.10-binutils-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{binutils_version}" == "2.18"
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/binutils-2.18-rtems4.9-20080211.diff
-%endif
-
-%description
-Cross binutils for target sparc-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd binutils-%{binutils_pkgvers}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-%if "sparc-rtems4.10" == "i686-pc-cygwin"
-# The cygwin sources are leaking memory
-  RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
-%endif
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../binutils-%{binutils_pkgvers}/configure \
-    --build=%_build --host=%_host \
-    --target=sparc-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --exec-prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  make prefix=$RPM_BUILD_ROOT%{_prefix} \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    includedir=$RPM_BUILD_ROOT%{_includedir} \
-    libdir=$RPM_BUILD_ROOT%{_libdir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
-    install-info
-
-# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# binutils does not install share/locale, however it uses it
-  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# manpages without corresponding tools
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.10-dlltool%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.10-dlltool*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.10-nlmconv%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.10-nlmconv*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.10-windres%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.10-windres*
-  fi
-  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.10-windmc%{_exeext}; then 
-    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.10-windmc*
-  fi
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# sparc-rtems4.10-binutils
-# ==============================================================
-# %package -n rtems-4.10-sparc-rtems4.10-binutils
-# Summary:      rtems binutils for sparc-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-binutils-common
-# %endif
-
-%description -n rtems-4.10-sparc-rtems4.10-binutils
-GNU binutils targetting sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-binutils
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sparc-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/sparc-rtems4.10-*
-
-%dir %{_exec_prefix}/sparc-rtems4.10
-%dir %{_exec_prefix}/sparc-rtems4.10/bin
-%{_exec_prefix}/sparc-rtems4.10/bin/*
-
-%dir %{_exec_prefix}/sparc-rtems4.10/lib
-%{_exec_prefix}/sparc-rtems4.10/lib/ldscripts
-# ==============================================================
-# rtems-4.10-binutils-common
-# ==============================================================
-%package -n rtems-4.10-binutils-common
-Summary:      Base package for RTEMS binutils
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-binutils-common
-
-RTEMS is an open source operating system for embedded systems.
-
-This is the base for binutils regardless of target CPU.
-
-%post -n rtems-4.10-binutils-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-
-%preun -n rtems-4.10-binutils-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
-%if "%{binutils_version}" > "2.17"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
-%endif
-fi
-
-%files -n rtems-4.10-binutils-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/as.info*
-%{_infodir}/bfd.info*
-%{_infodir}/binutils.info*
-%{_infodir}/ld.info*
-%{_infodir}/standards.info*
-%if "%{binutils_version}" > "2.17"
-%{_infodir}/gprof.info*
-%endif
-
-%dir %{_prefix}/share
-%dir %{_prefix}/share/locale
-
Index: ntrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-cpukit.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-cpukit.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,137 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define cpukit_pkgvers 4.7.99.1-20070510
-%define cpukit_version 4.7.99.1
-%define cpukit_rpmvers %{expand:%(echo "4.7.99.1" | tr - _ )}
-
-Name:         	rtems-4.10-sparc-rtems4.10-cpukit
-Summary:      	sparc-rtems4.10 cpukit
-
-Group:	      	Development/Tools
-Version:        %{cpukit_rpmvers}
-Release:      	1%{?dist}%{?dist}
-License:      	GPL
-URL:		http://cpukit.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:	rtems-4.10-sparc-rtems4.10-gcc
-
-Source0: 	ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2
-%{?_without_sources:NoSource:   0}
-
-%description
-RTEMS cpukit for sparc-rtems4.10.
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-
-
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-
-  cd build
-  ../rtems-%{cpukit_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --target=sparc-rtems4.10 \
-    --enable-multilib \
-    --disable-rtemsbsp
-
-  make all RTEMS_BSP=
-  cd ..
-
-%install
-  rm -rf $RPM_BUILD_ROOT
-  export PATH="%{_bindir}:${PATH}"
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
-  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sparc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/sparc-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sparc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/sparc-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-%description -n rtems-4.10-sparc-rtems4.10-cpukit
-GNU cc compiler for sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-cpukit
-%dir %{_prefix}
-%{_prefix}/sparc-rtems4.10
-# Violates the FHS
-%exclude %{_prefix}/make
Index: ntrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,593 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-
-%define gcc_pkgvers 4.3.2
-%define gcc_version 4.3.2
-%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
-
-%define newlib_version		1.16.0
-%define gccnewlib_version	gcc%{gcc_version}newlib%{newlib_version}
-
-%define mpfr_version	2.3.1
-
-Name:         	rtems-4.10-sparc-rtems4.10-gcc
-Summary:      	sparc-rtems4.10 gcc
-
-Group:	      	Development/Tools
-Version:        %{gcc_rpmvers}
-Release:      	2%{?dist}
-License:      	GPL
-URL:		http://gcc.gnu.org
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define _use_internal_dependency_generator 0
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gcc_version}" >= "4.3.0"
-BuildRequires:  gmp-devel >= 4.1
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}gmp-devel
-BuildRequires:  %{_host_rpmprefix}mpfr-devel
-%endif
-%if 0%{?fedora} >= 8
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-%if "%{?suse}" > "10.3"
-BuildRequires:  mpfr-devel >= 2.3.0
-%endif
-# These distros ship an insufficient mpfr
-%{?el4:%define 	_build_mpfr 	1}
-%{?suse10_2:%define 	_build_mpfr 	1}
-%{?suse10_3:%define 	_build_mpfr 	1}
-%endif
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-sparc-rtems4.10-gcc
-%endif
-
-%if "%{gcc_version}" >= "4.2.0"
-BuildRequires:	flex bison
-%endif
-
-
-BuildRequires:	texinfo >= 4.2
-BuildRequires:	rtems-4.10-sparc-rtems4.10-binutils
-
-Requires:	rtems-4.10-gcc-common
-Requires:	rtems-4.10-sparc-rtems4.10-binutils
-Requires:	rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{release}
-
-
-%if "%{gcc_version}" >= "3.4"
-%define gcclib %{_libdir}/gcc
-%define gccexec %{_libexecdir}/gcc
-%else
-%define gcclib %{_libdir}/gcc-lib
-%define gccexec %{_libdir}/gcc-lib
-%endif
-
-%if "%{gcc_version}" == "4.3.2"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20080828.diff
-%endif
-%if "%{gcc_version}" == "4.3.1"
-Source0:	ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:		ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.1-rtems4.9-20080628.diff
-%endif
-%{?_without_sources:NoSource:	0}
-
-%if "%{gcc_version}" == "4.3.2" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.3.1" 
-Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%{?_without_sources:NoSource:	1}
-
-Source50:	ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
-%if "%{newlib_version}" == "1.16.0"
-Patch50:	ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.16.0-rtems4.10-20080827.diff
-%endif
-%{?_without_sources:NoSource:	50}
-
-%if "%{gcc_version}" >= "4.3.0"
-Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
-%endif
-
-%description
-Cross gcc for sparc-rtems4.10.
-
-%prep
-%setup -c -T -n %{name}-%{version}
-
-%setup -q -T -D -n %{name}-%{version} -a0
-%{?PATCH0:%patch0 -p0}
-
-%setup -q -T -D -n %{name}-%{version} -a1
-%{?PATCH1:%patch1 -p0}
-
-
-
-
-
-%setup -q -T -D -n %{name}-%{version} -a50
-cd newlib-%{newlib_version}
-%{?PATCH50:%patch50 -p1}
-cd ..
-  # Copy the C library into gcc's source tree
-  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
-
-%if 0%{?_build_mpfr}
-%setup -q -T -D -n %{name}-%{version} -a60
-%{?PATCH60:%patch60 -p1}
-  # Build mpfr one-tree style
-  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
-%endif
-
-%if "%{gcc_version}" < "4.1.0"
-  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
-  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%else
-  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
-    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
-%endif
-  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
-
-
-  # Fix timestamps
-  cd gcc-%{gcc_pkgvers}
-  contrib/gcc_update --touch
-  cd ..
-%build
-  mkdir -p build
-
-  cd build
-
-  languages="c"
-  languages="$languages,c++"
-  export PATH="%{_bindir}:${PATH}"
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
-%else
-  CC="%{__cc} ${RPM_OPT_FLAGS}" \
-%endif
-  ../gcc-%{gcc_pkgvers}/configure \
-    --prefix=%{_prefix} \
-    --bindir=%{_bindir} \
-    --exec_prefix=%{_exec_prefix} \
-    --includedir=%{_includedir} \
-    --libdir=%{_libdir} \
-    --libexecdir=%{_libexecdir} \
-    --mandir=%{_mandir} \
-    --infodir=%{_infodir} \
-    --datadir=%{_datadir} \
-    --build=%_build --host=%_host \
-    --target=sparc-rtems4.10 \
-    --disable-libstdcxx-pch \
-    --with-gnu-as --with-gnu-ld --verbose \
-    --with-newlib \
-    --with-system-zlib \
-    --disable-nls --without-included-gettext \
-    --disable-win32-registry \
-    --enable-version-specific-runtime-libs \
-    --enable-threads \
-    --enable-newlib-io-c99-formats \
-    --enable-languages="$languages" $optargs
-
-%if "%_host" != "%_build"
-  # Bug in gcc-3.2.1:
-  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
-  mkdir -p gcc/include
-  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
-%endif
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-
-  make DESTDIR=$RPM_BUILD_ROOT install
-  cd ..
-
-  cd build/sparc-rtems4.10/newlib
-  make DESTDIR=$RPM_BUILD_ROOT install-info
-  cd ../../..
-
-%if "%{gcc_version}" <= "4.1.2"
-# Misplaced header file
-  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
-    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
-      $RPM_BUILD_ROOT%{gcclib}/sparc-rtems4.10/%{gcc_version}/include/
-  fi
-%endif
-
-  # host library
-  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
-
-  # We use the version from binutils
-  rm -f $RPM_BUILD_ROOT%{_bindir}/sparc-rtems4.10-c++filt%{_exeext}
-
-
-  # We don't ship info/dir
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-
-%if "%{gcc_version}" >= "3.4"
-  # Bug in gcc-3.4.0pre
-  rm -f $RPM_BUILD_ROOT%{_bindir}/sparc-rtems4.10-sparc-rtems4.10-gcjh%{_exeext}
-%endif
-
-%if "%{gcc_version}" >= "3.3"
-  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
-  # the fixinclude-install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gcclib}/sparc-rtems4.10/%{gcc_version}/install-tools
-  rm -rf ${RPM_BUILD_ROOT}%{gccexec}/sparc-rtems4.10/%{gcc_version}/install-tools
-%endif
-
-  # Collect multilib subdirectories
-  f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
-
-  echo "%defattr(-,root,root,-)" > build/files.newlib
-  TGTDIR="%{_exec_prefix}/sparc-rtems4.10/lib"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> build/files.newlib
-      ;;
-    esac
-  done
-
-  rm -f dirs ;
-  echo "%defattr(-,root,root,-)" >> dirs
-  echo "%dir %{_prefix}" >> dirs
-  echo "%dir %{_libdir}" >> dirs
-%if "%{gcc_version}" >= "3.4"
-  echo "%dir %{_libexecdir}" >> dirs
-%endif
-  echo "%dir %{gcclib}" >> dirs
-  echo "%dir %{gcclib}/sparc-rtems4.10" >> dirs
-
-  TGTDIR="%{gcclib}/sparc-rtems4.10/%{gcc_version}"
-  for i in $f; do
-    case $i in
-    \.) echo "%dir ${TGTDIR}" >> dirs
-      ;;
-    *)  echo "%dir ${TGTDIR}/$i" >> dirs
-      ;;
-    esac
-  done
-
-  # Collect files to go into different packages
-  cp dirs build/files.gcc
-  cp dirs build/files.g77
-  cp dirs build/files.gfortran
-  cp dirs build/files.objc
-  cp dirs build/files.gcj
-  cp dirs build/files.g++
-
-  TGTDIR="%{gcclib}/sparc-rtems4.10/%{gcc_version}"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
-    *f771) ;;
-    *f951) ;;
-    *cc1) ;;
-    *cc1obj) ;;
-    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
-    *collect2) ;;
-    *libobjc*) echo "$i" >> build/files.objc ;;
-    *include/objc*) ;;
-    *include/g++*);;
-    *include/c++*);;
-    *adainclude*);;
-    *adalib*);;
-    *gnat1);;
-    *jc1) ;;
-    *jvgenmain) ;;
-    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
-    */libstdc++.*) echo "$i" >> build/files.g++ ;;
-    */libsupc++.*) echo "$i" >> build/files.g++ ;;
-    *) echo "$i" >> build/files.gcc ;;
-    esac
-  done
-
-  TGTDIR="%{_exec_prefix}/sparc-rtems4.10/lib"
-  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
-  for i in $f; do
-    case $i in
-    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
-    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
-# all other files belong to newlib
-    *) echo "$i" >> build/files.newlib ;; 
-    esac
-  done
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sparc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/sparc-rtems4.10/' | %__find_provides
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
-
-cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-#!/bin/sh
-grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/sparc-rtems4.10/(lib|include|sys-root)' \
-  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/sparc-rtems4.10/' | %__find_requires
-EOF
-chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# rtems-4.10-sparc-rtems4.10-gcc
-# ==============================================================
-# %package -n rtems-4.10-sparc-rtems4.10-gcc
-# Summary:        GNU cc compiler for sparc-rtems4.10
-# Group:          Development/Tools
-# Version:        %{gcc_rpmvers}
-# Requires:       rtems-4.10-sparc-rtems4.10-binutils
-# Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{release}
-# License:	GPL
-
-# %if %build_infos
-# Requires:      rtems-4.10-gcc-common
-# %endif
-
-%description -n rtems-4.10-sparc-rtems4.10-gcc
-GNU cc compiler for sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-gcc -f build/files.gcc
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sparc-rtems4.10-gcc.1*
-%if "%{gcc_version}" >= "3.4"
-%{_mandir}/man1/sparc-rtems4.10-cpp.1*
-%{_mandir}/man1/sparc-rtems4.10-gcov.1*
-%endif
-
-%dir %{_bindir}
-%{_bindir}/sparc-rtems4.10-cpp%{_exeext}
-%{_bindir}/sparc-rtems4.10-gcc%{_exeext}
-%if "%{gcc_version}" >= "3.3"
-%{_bindir}/sparc-rtems4.10-gcc-%{gcc_version}%{_exeext}
-%endif
-%{_bindir}/sparc-rtems4.10-gcov%{_exeext}
-%{_bindir}/sparc-rtems4.10-gccbug
-
-%dir %{gcclib}/sparc-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" > "4.0.3"
-%if "sparc-rtems4.10" != "bfin-rtems4.10"
-%if "sparc-rtems4.10" != "avr-rtems4.10"
-%dir %{gcclib}/sparc-rtems4.10/%{gcc_version}/include/ssp
-%endif
-%endif
-%endif
-
-%dir %{gccexec}
-%dir %{gccexec}/sparc-rtems4.10
-%dir %{gccexec}/sparc-rtems4.10/%{gcc_version}
-%{gccexec}/sparc-rtems4.10/%{gcc_version}/cc1%{_exeext}
-%{gccexec}/sparc-rtems4.10/%{gcc_version}/collect2%{_exeext}
-
-# ==============================================================
-# rtems-4.10-gcc-common
-# ==============================================================
-%package -n rtems-4.10-gcc-common
-Summary:	Base package for rtems gcc and newlib C Library
-Group:          Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gcc-common
-GCC files that are shared by all targets.
-
-%files -n rtems-4.10-gcc-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/cpp.info*
-%{_infodir}/cppinternals.info*
-%{_infodir}/gcc.info*
-%{_infodir}/gccint.info*
-%if "%{gcc_version}" >= "3.4"
-%{_infodir}/gccinstall.info*
-%endif
-
-%dir %{_mandir}
-%if "%{gcc_version}" < "3.4"
-%dir %{_mandir}/man1
-%{_mandir}/man1/cpp.1*
-%{_mandir}/man1/gcov.1*
-%endif
-%dir %{_mandir}/man7
-%{_mandir}/man7/fsf-funding.7*
-%{_mandir}/man7/gfdl.7*
-%{_mandir}/man7/gpl.7*
-
-%post -n rtems-4.10-gcc-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-
-%preun -n rtems-4.10-gcc-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
-%if "%{gcc_version}" >= "3.4"
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
-%endif
-fi
-
-# ==============================================================
-# rtems-4.10-sparc-rtems4.10-gcc-c++
-# ==============================================================
-%package -n rtems-4.10-sparc-rtems4.10-gcc-c++
-Summary:	GCC c++ compiler for sparc-rtems4.10
-Group:		Development/Tools
-Version:        %{gcc_rpmvers}
-License:	GPL
-
-%if "%{_build}" != "%{_host}"
-BuildRequires:  rtems-4.10-sparc-rtems4.10-gcc-c++
-%endif
-Provides:	rtems-4.10-sparc-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
-Obsoletes:	rtems-4.10-sparc-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
-
-Requires:       rtems-4.10-gcc-common
-Requires:       rtems-4.10-sparc-rtems4.10-gcc = %{gcc_rpmvers}-%{release}
-
-%description -n rtems-4.10-sparc-rtems4.10-gcc-c++
-GCC c++ compiler for sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-gcc-c++ -f build/files.g++
-%defattr(-,root,root)
-%{_mandir}/man1/sparc-rtems4.10-g++.1*
-
-%{_bindir}/sparc-rtems4.10-c++%{_exeext}
-%{_bindir}/sparc-rtems4.10-g++%{_exeext}
-
-%dir %{gccexec}
-%dir %{gccexec}/sparc-rtems4.10
-%dir %{gccexec}/sparc-rtems4.10/%{gcc_version}
-%{gccexec}/sparc-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
-
-%dir %{gcclib}/sparc-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
-%{gcclib}/sparc-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/sparc-rtems4.10/%{gcc_version}/include/g++
-%endif
-
-
-
-# ==============================================================
-# rtems-4.10-sparc-rtems4.10-newlib
-# ==============================================================
-%package -n rtems-4.10-sparc-rtems4.10-newlib
-Summary:      	C Library (newlib) for sparc-rtems4.10
-Group: 		Development/Tools
-License:	Distributable
-Version:	%{newlib_version}
-
-Provides:	rtems-4.10-sparc-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes:	rtems-4.10-sparc-rtems4.10-libc < %{newlib_version}-%{release}
-
-Requires:	rtems-4.10-newlib-common
-
-%description -n rtems-4.10-sparc-rtems4.10-newlib
-Newlib C Library for sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-newlib -f build/files.newlib
-%defattr(-,root,root)
-%dir %{_prefix}
-%dir %{_exec_prefix}/sparc-rtems4.10
-%{_exec_prefix}/sparc-rtems4.10/include
-
-# ==============================================================
-# rtems-4.10-newlib-common
-# ==============================================================
-%package -n rtems-4.10-newlib-common
-Summary:	Base package for RTEMS newlib C Library
-Group:          Development/Tools
-Version:        %{newlib_version}
-License:	Distributable
-
-Requires(post): 	/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-newlib-common
-newlib files that are shared by all targets.
-
-%files -n rtems-4.10-newlib-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/libc.info*
-%{_infodir}/libm.info*
-
-%post -n rtems-4.10-newlib-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-
-%preun -n rtems-4.10-newlib-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
-fi
-
Index: ntrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
===================================================================
--- contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec	(revision 92f3264acf8c73cdf1bc9b05a1836add5b0b7268)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#
-# Please send bugfixes or comments to
-# 	http://www.rtems.org/bugzilla
-#
-
-%define _prefix			/opt/rtems-4.10
-%define _infodir		%{_prefix}/info
-%define _mandir			%{_prefix}/man
-
-%ifos cygwin cygwin32 mingw mingw32
-%define _exeext .exe
-%else
-%define _exeext %{nil}
-%endif
-
-%ifos cygwin cygwin32
-%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir			%{_exec_prefix}/lib
-%define debug_package		%{nil}
-%endif
-
-%if "%{_build}" != "%{_host}"
-%define _host_rpmprefix rtems-4.10-%{_host}-
-%else
-%define _host_rpmprefix %{nil}
-%endif
-
-%define gdb_version 6.8
-%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} 
-
-Name:		rtems-4.10-sparc-rtems4.10-gdb
-Summary:	Gdb for target sparc-rtems4.10
-Group:		Development/Tools
-Version:	%{gdb_rpmvers}
-Release:	1%{?dist}
-License:	GPL/LGPL
-URL: 		http://sources.redhat.com/gdb
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  %{_host_rpmprefix}gcc
-
-%if "%{gdb_version}" >= "6.6"
-# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
-BuildRequires: libexpat-devel
-%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
-BuildRequires: %{_host_rpmprefix}expat-devel
-%endif
-%endif
-
-%if "%{gdb_version}" < "6.7"
-%if "%{_build}" != "%{_host}"
-BuildRequires:  %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires:  %{_host_rpmprefix}readline-devel
-BuildRequires:  %{_host_rpmprefix}ncurses-devel
-
-# Required for building the infos
-BuildRequires:	/sbin/install-info
-BuildRequires:	texinfo >= 4.2
-
-
-Requires:	rtems-4.10-gdb-common
-
-Source0:	ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-%{?_without_sources:NoSource:	0}
-%if "%{gdb_version}" == "6.8"
-Patch0:		gdb-6.8-rtems4.9-20080429.diff
-%endif
-
-%description
-GDB for target sparc-rtems4.10
-%prep
-%setup -q -c -T -n %{name}-%{version}
-
-%setup -q -D -T -n %{name}-%{version} -a0
-cd gdb-%{gdb_version}
-%{?PATCH0:%patch0 -p1}
-cd ..
-
-%if "%{gdb_version}" >= "6.7"
-# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
-%build
-  export PATH="%{_bindir}:${PATH}"
-  mkdir -p build
-  cd build
-%if "%{_build}" != "%{_host}"
-  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
-%endif
-  CFLAGS="$RPM_OPT_FLAGS" \
-  ../gdb-%{gdb_version}/configure \
-    --build=%_build --host=%_host \
-    --target=sparc-rtems4.10 \
-    --verbose --disable-nls \
-    --without-included-gettext \
-    --disable-win32-registry \
-    --disable-werror \
-    --enable-sim \
-%if "%{gdb_version}" >= "6.7"
-    --with-system-readline \
-%endif
-%if "%{gdb_version}" >= "6.6"
-    --with-expat \
-%endif
-    --prefix=%{_prefix} --bindir=%{_bindir} \
-    --includedir=%{_includedir} --libdir=%{_libdir} \
-    --mandir=%{_mandir} --infodir=%{_infodir}
-
-  make %{?_smp_mflags} all
-  make info
-  cd ..
-
-%install
-  export PATH="%{_bindir}:${PATH}"
-  rm -rf $RPM_BUILD_ROOT
-
-  cd build
-  make DESTDIR=$RPM_BUILD_ROOT install
-
-  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-  touch $RPM_BUILD_ROOT%{_infodir}/dir
-
-# These come from other packages
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
-  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
-
-# We don't ship host files
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
-
-# host library, installed to a bogus directory
-  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc-rtems4.10-sim.a
-
-  cd ..
-
-# Extract %%__os_install_post into os_install_post~
-cat << \EOF > os_install_post~
-%__os_install_post
-EOF
-
-# Generate customized brp-*scripts
-cat os_install_post~ | while read a x y; do
-case $a in
-# Prevent brp-strip* from trying to handle foreign binaries
-*/brp-strip*)
-  b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
-  chmod a+x $b
-  ;;
-# Fix up brp-compress to handle %%_prefix != /usr
-*/brp-compress*)
-  b=$(basename $a)
-  sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
-  chmod a+x $b
-  ;;
-esac
-done
-
-sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
-  -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
-< os_install_post~ > os_install_post 
-%define __os_install_post . ./os_install_post
-
-%clean
-  rm -rf $RPM_BUILD_ROOT
-
-# ==============================================================
-# sparc-rtems4.10-gdb
-# ==============================================================
-# %package -n rtems-4.10-sparc-rtems4.10-gdb
-# Summary:      rtems gdb for sparc-rtems4.10
-# Group: Development/Tools
-# %if %build_infos
-# Requires: rtems-4.10-gdb-common
-# %endif
-
-%description -n rtems-4.10-sparc-rtems4.10-gdb
-GNU gdb targetting sparc-rtems4.10.
-
-%files -n rtems-4.10-sparc-rtems4.10-gdb
-%defattr(-,root,root)
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%{_mandir}/man1/sparc-rtems4.10-*.1*
-
-%dir %{_bindir}
-%{_bindir}/sparc-rtems4.10-*
-
-# ==============================================================
-# rtems-4.10-gdb-common
-# ==============================================================
-%package -n rtems-4.10-gdb-common
-Summary:      Base package for RTEMS gdbs
-Group: Development/Tools
-Requires(post):		/sbin/install-info
-Requires(preun):	/sbin/install-info
-
-%description -n rtems-4.10-gdb-common
-
-GDB files shared by all targets.
-
-%post -n rtems-4.10-gdb-common
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-
-%preun -n rtems-4.10-gdb-common
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
-fi
-
-%files -n rtems-4.10-gdb-common
-%defattr(-,root,root)
-%dir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/gdb.info*
-
-%{_infodir}/gdbint.info*
-%{_infodir}/stabs.info*
-%{_infodir}/annotate.info*
-
