mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
Update.
This commit is contained in:
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: arm-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-arm-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for arm-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for arm-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for arm-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: avr-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,24 +148,24 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -201,7 +201,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -459,7 +459,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-avr-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -477,7 +477,7 @@ Summary: libgcc for avr-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
|
||||
@@ -592,7 +592,7 @@ Summary: C Library (newlib) for avr-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -613,7 +613,7 @@ Newlib C Library for avr-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-bfin-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for bfin-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for bfin-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for bfin-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: h8300-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-h8300-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for h8300-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for h8300-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: i386-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-i386-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for i386-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for i386-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for i386-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: lm32-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ BuildRequires: rtems-4.10-lm32-rtems4.10-binutils
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-lm32-rtems4.10-binutils
|
||||
Requires: rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-lm32-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for lm32-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for lm32-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for lm32-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m32c-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,24 +148,24 @@ BuildRequires: rtems-4.10-m32c-rtems4.10-binutils
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-m32c-rtems4.10-binutils
|
||||
Requires: rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -201,7 +201,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -459,7 +459,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-m32c-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -477,7 +477,7 @@ Summary: libgcc for m32c-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
|
||||
@@ -592,7 +592,7 @@ Summary: C Library (newlib) for m32c-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -613,7 +613,7 @@ Newlib C Library for m32c-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m32r-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,24 +148,24 @@ BuildRequires: rtems-4.10-m32r-rtems4.10-binutils
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-m32r-rtems4.10-binutils
|
||||
Requires: rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -201,7 +201,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -459,7 +459,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-m32r-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -477,7 +477,7 @@ Summary: libgcc for m32r-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
|
||||
@@ -592,7 +592,7 @@ Summary: C Library (newlib) for m32r-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -613,7 +613,7 @@ Newlib C Library for m32r-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m68k-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-m68k-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for m68k-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for m68k-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for m68k-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: mips-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-mips-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for mips-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for mips-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for mips-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-powerpc-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for powerpc-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for powerpc-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for powerpc-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: sh-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-sh-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for sh-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for sh-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for sh-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.4.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 2
|
||||
GCC_RPMREL = 4
|
||||
NEWLIB_VERS = 1.18.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 1`
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -41,7 +41,7 @@ Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.ta
|
||||
%if %build_newlib
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
%endif
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: sparc-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -148,23 +148,23 @@ 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-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
|
||||
|
||||
%define _gcclibdir %{_prefix}/lib
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20100121.diff
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20091104.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.2-rtems4.10-20091104.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.2"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@@ -173,7 +173,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgve
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100121.diff
|
||||
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20100210.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
@@ -211,7 +211,7 @@ cd ..
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -470,7 +470,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.10-sparc-rtems4.10-binutils
|
||||
# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -488,7 +488,7 @@ Summary: libgcc for sparc-rtems4.10-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-3%{?dist}
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-5%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
|
||||
@@ -663,7 +663,7 @@ Summary: C Library (newlib) for sparc-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
@@ -684,7 +684,7 @@ Newlib C Library for sparc-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user