mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 04:37:12 +08:00
Regenerate.
This commit is contained in:
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "arm-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-arm-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting arm-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-arm-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: arm-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-arm-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "avr-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-avr-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting avr-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-avr-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: avr-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,19 +92,19 @@ Requires: rtems-4.9-avr-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "bfin-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-bfin-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting bfin-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-bfin-rtems4.9-binutils
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: bfin-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,19 +92,19 @@ Requires: rtems-4.9-bfin-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.5-bfinrtems-20071114.diff
|
||||
|
||||
%description
|
||||
GDB for target bfin-rtems4.9
|
||||
@@ -102,8 +102,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "h8300-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-h8300-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting h8300-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-h8300-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.2.3
|
||||
%define gcc_version 4.2.3
|
||||
%define gcc_rpmvers %{expand:%(echo "4.2.3" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: h8300-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 11%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,18 +92,27 @@ Requires: rtems-4.9-h8300-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
%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.9/gcc-core-4.3.2-rtems4.9-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.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "i386-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-i386-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting i386-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-i386-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: i386-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-i386-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -56,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -135,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.1
|
||||
%define gcc_version 4.3.1
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.1" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: m68k-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-m68k-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%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.9/gcc-core-4.3.2-rtems4.9-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: gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.3.0-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
%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.0"
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "mips-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-mips-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting mips-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-mips-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: mips-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-mips-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "powerpc-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-powerpc-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting powerpc-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-powerpc-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: powerpc-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-powerpc-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "sh-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-sh-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting sh-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-sh-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: sh-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-sh-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_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 - _ )}
|
||||
@@ -26,6 +38,8 @@ 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
|
||||
@@ -42,7 +56,7 @@ Requires: rtems-4.9-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: binutils-2.18-rtems4.9-20080211.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -56,12 +70,16 @@ cd binutils-%{binutils_pkgvers}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%if "sparc-rtems4.9" == "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 \
|
||||
@@ -80,6 +98,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
@@ -116,6 +135,9 @@ cd ..
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.9-windres%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.9-windres*
|
||||
fi
|
||||
if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.9-windmc%{_exeext}; then
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.9-windmc*
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
@@ -161,7 +183,6 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
|
||||
# %endif
|
||||
|
||||
%description -n rtems-4.9-sparc-rtems4.9-binutils
|
||||
|
||||
GNU binutils targetting sparc-rtems4.9.
|
||||
|
||||
%files -n rtems-4.9-sparc-rtems4.9-binutils
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
%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.9-%{_host}-
|
||||
%else
|
||||
%define _host_rpmprefix %{nil}
|
||||
%endif
|
||||
|
||||
|
||||
%define cpukit_pkgvers 4.7.99.1-20070510
|
||||
%define cpukit_version 4.7.99.1
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.0
|
||||
%define gcc_version 4.3.0
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
|
||||
%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}
|
||||
@@ -40,7 +40,7 @@ Summary: sparc-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 12%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
@@ -92,27 +92,27 @@ Requires: rtems-4.9-sparc-rtems4.9-newlib = %{newlib_version}-%{release}
|
||||
%define gccexec %{_libdir}/gcc-lib
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" == "4.3.0"
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.2.3"
|
||||
%if "%{gcc_version}" == "4.3.1"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.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.2.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%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: newlib-1.16.0-rtems4.9-20080430.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ Requires: rtems-4.9-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
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -104,8 +104,10 @@ rm -f gdb-%{gdb_version}/readline/configure
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
--with-system-readline \
|
||||
%endif
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
--with-expat \
|
||||
%endif
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
|
||||
Reference in New Issue
Block a user