mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 01:58:44 +08:00
BR: exact version of build host tools for Cdn-X builds.
This commit is contained in:
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
m4_define([RTEMS_API],[4.10])
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
AC_INIT([crossrpms],[0.20090117.1],[http://www.rtems.org/bugzilla])
|
||||
AC_INIT([crossrpms],[0.20090125.1],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([binutils/binutils.add])
|
||||
AC_CONFIG_AUX_DIR(.)
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ BINUTILS_RPMREL = @VERSION@%{?dist}
|
||||
include ../binutils.am
|
||||
BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.3.2
|
||||
GCC_VERS = 4.3.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = @VERSION@%{?dist}
|
||||
include ../gcc.am
|
||||
|
||||
@@ -35,7 +35,7 @@ BINUTILS_RPMREL = @VERSION@%{?dist}
|
||||
include ../binutils.am
|
||||
BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.3.2
|
||||
GCC_VERS = 4.3.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = @VERSION@%{?dist}
|
||||
include ../gcc.am
|
||||
|
||||
@@ -35,7 +35,7 @@ BINUTILS_RPMREL = @VERSION@%{?dist}
|
||||
include ../binutils.am
|
||||
BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.3.2
|
||||
GCC_VERS = 4.3.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = @VERSION@%{?dist}
|
||||
include ../gcc.am
|
||||
|
||||
@@ -43,7 +43,7 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: @rpmprefix@@tool_target@-gcc
|
||||
BuildRequires: @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
|
||||
@@ -9,7 +9,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: @rpmprefix@@tool_target@-gcc-c++
|
||||
BuildRequires: @rpmprefix@@tool_target@-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: @rpmprefix@@tool_target@-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: @rpmprefix@@tool_target@-c++ < %{gcc_rpmvers}-%{release}
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: arm-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-arm-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-arm-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-arm-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-arm-rtems4.10-binutils
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-arm-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-arm-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-arm-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-arm-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for arm-rtems4.10.
|
||||
%{gccexec}/arm-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/arm-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/arm-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/arm-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for arm-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-arm-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-arm-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for arm-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: avr-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-avr-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-avr-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-avr-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-avr-rtems4.10-binutils
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -415,7 +422,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}-%{release}
|
||||
# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -532,9 +539,7 @@ Summary: C Library (newlib) for avr-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-avr-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-avr-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -554,6 +559,7 @@ Newlib C Library for avr-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: bfin-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-bfin-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-bfin-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-bfin-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-bfin-rtems4.10-binutils
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-bfin-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-bfin-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-bfin-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-bfin-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for bfin-rtems4.10.
|
||||
%{gccexec}/bfin-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/bfin-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/bfin-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/bfin-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for bfin-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-bfin-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-bfin-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for bfin-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -30,6 +30,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
|
||||
-e "s/[@]NEWLIB_PKGVERS[@]/$(NEWLIB_PKGVERS)/g" \
|
||||
-e "s/[@]NEWLIB_RPMREL[@]/$(NEWLIB_RPMREL)/g" \
|
||||
-e "/--with-sysroot/d" \
|
||||
-e "/[@]tool_target[@]-sys-root/d" \
|
||||
-e "/[@]tool_target[@]-w32api-sys-root/d" \
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: h8300-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-h8300-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-h8300-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-h8300-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-h8300-rtems4.10-binutils
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-h8300-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-h8300-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-h8300-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-h8300-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for h8300-rtems4.10.
|
||||
%{gccexec}/h8300-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/h8300-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-h8300-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-h8300-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for h8300-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: i386-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-i386-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-i386-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-i386-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-i386-rtems4.10-binutils
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-i386-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-i386-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-i386-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-i386-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for i386-rtems4.10.
|
||||
%{gccexec}/i386-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/i386-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/i386-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/i386-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for i386-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-i386-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-i386-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for i386-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: m32c-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-m32c-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-m32c-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -93,7 +100,7 @@ BuildRequires: texinfo >= 4.2
|
||||
BuildRequires: rtems-4.10-m32c-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-m32c-rtems4.10-binutils
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -415,7 +422,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}-%{release}
|
||||
# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -474,9 +481,7 @@ Summary: C Library (newlib) for m32c-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-m32c-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-m32c-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
|
||||
%description -n rtems-4.10-m32c-rtems4.10-newlib
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: m32r-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-m32r-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-m32r-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -93,7 +100,7 @@ BuildRequires: texinfo >= 4.2
|
||||
BuildRequires: rtems-4.10-m32r-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-m32r-rtems4.10-binutils
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -415,7 +422,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}-%{release}
|
||||
# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -474,9 +481,7 @@ Summary: C Library (newlib) for m32r-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-m32r-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-m32r-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
|
||||
%description -n rtems-4.10-m32r-rtems4.10-newlib
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: m68k-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-m68k-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-m68k-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-m68k-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-m68k-rtems4.10-binutils
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-m68k-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-m68k-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-m68k-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-m68k-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for m68k-rtems4.10.
|
||||
%{gccexec}/m68k-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/m68k-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/m68k-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/m68k-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for m68k-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-m68k-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-m68k-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for m68k-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: mips-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-mips-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-mips-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-mips-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-mips-rtems4.10-binutils
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-mips-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-mips-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-mips-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-mips-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for mips-rtems4.10.
|
||||
%{gccexec}/mips-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/mips-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/mips-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/mips-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for mips-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-mips-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-mips-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for mips-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: powerpc-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-powerpc-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-powerpc-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-powerpc-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-binutils
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-powerpc-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-powerpc-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-powerpc-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-powerpc-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for powerpc-rtems4.10.
|
||||
%{gccexec}/powerpc-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/powerpc-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/powerpc-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for powerpc-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-powerpc-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-powerpc-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for powerpc-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -44,7 +52,7 @@
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 21%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: sh-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-sh-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-sh-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-sh-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-sh-rtems4.10-binutils
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -423,7 +430,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}-%{release}
|
||||
# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-sh-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-sh-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-sh-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-sh-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +570,7 @@ GCC c++ compiler for sh-rtems4.10.
|
||||
%{gccexec}/sh-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/sh-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/sh-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/sh-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for sh-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-sh-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-sh-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +602,7 @@ Newlib C Library for sh-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -10,12 +10,12 @@ BINUTILS_RPMREL = 2%{?dist}
|
||||
include ../binutils.am
|
||||
BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.3.2
|
||||
GCC_VERS = 4.3.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = 21%{?dist}
|
||||
GCC_RPMREL = 1%{?dist}
|
||||
NEWLIB_VERS = 1.17.0
|
||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||
NEWLIB_RPMREL = $(GCC_RPMREL)
|
||||
NEWLIB_RPMREL = 22%{?dist}
|
||||
include ../gcc.am
|
||||
GCC_OPTS += --languages=cxx
|
||||
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20081205.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.3.3"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.3-rtems4.10-20090125.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
|
||||
@@ -21,14 +21,22 @@
|
||||
|
||||
%ifos cygwin cygwin32 mingw mingw32
|
||||
%define _exeext .exe
|
||||
%define debug_package %{nil}
|
||||
%define debug_package %{nil}
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%else
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%endif
|
||||
|
||||
%ifos mingw mingw32
|
||||
%if %{defined _mingw32_cflags}
|
||||
%define optflags %{_mingw32_cflags}
|
||||
%else
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
@@ -38,13 +46,13 @@
|
||||
%endif
|
||||
|
||||
|
||||
%define gcc_pkgvers 4.3.2
|
||||
%define gcc_version 4.3.2
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
|
||||
%define gcc_pkgvers 4.3.3
|
||||
%define gcc_version 4.3.3
|
||||
%define gcc_rpmvers %{expand:%(echo "4.3.3" | tr - _ )}
|
||||
|
||||
%define newlib_pkgvers 1.17.0
|
||||
%define newlib_version 1.17.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
%define newlib_release 22%{?dist}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
@@ -53,7 +61,7 @@ Summary: sparc-rtems4.10 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 20%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-sparc-rtems4.10-gcc
|
||||
BuildRequires: rtems-4.10-sparc-rtems4.10-gcc = %{gcc_rpmvers}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-sparc-rtems4.10-binutils
|
||||
|
||||
Requires: rtems-4.10-gcc-common
|
||||
Requires: rtems-4.10-sparc-rtems4.10-binutils
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
|
||||
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
@@ -109,11 +116,18 @@ Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{release}
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.2-rtems4.10-20081205.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.3.3"
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.3-rtems4.10-20090125.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.3.2"
|
||||
Source1: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.3.3"
|
||||
Source1: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.17.0"
|
||||
@@ -423,7 +437,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}-%{release}
|
||||
# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -539,7 +553,7 @@ Version: %{gcc_rpmvers}
|
||||
License: GPL
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.10-sparc-rtems4.10-gcc-c++
|
||||
BuildRequires: rtems-4.10-sparc-rtems4.10-gcc-c++ = %{gcc_rpmvers}
|
||||
%endif
|
||||
Provides: rtems-4.10-sparc-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
|
||||
Obsoletes: rtems-4.10-sparc-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
|
||||
@@ -563,11 +577,7 @@ GCC c++ compiler for sparc-rtems4.10.
|
||||
%{gccexec}/sparc-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
|
||||
|
||||
%dir %{gcclib}/sparc-rtems4.10/%{gcc_version}/include
|
||||
%if "%{gcc_version}" >= "3.2"
|
||||
%{gcclib}/sparc-rtems4.10/%{gcc_version}/include/c++
|
||||
%else
|
||||
%{gcclib}/sparc-rtems4.10/%{gcc_version}/include/g++
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
@@ -579,9 +589,7 @@ Summary: C Library (newlib) for sparc-rtems4.10
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
|
||||
Provides: rtems-4.10-sparc-rtems4.10-libc = %{newlib_version}-%{release}
|
||||
Obsoletes: rtems-4.10-sparc-rtems4.10-libc < %{newlib_version}-%{release}
|
||||
Release: %{newlib_release}
|
||||
|
||||
Requires: rtems-4.10-newlib-common
|
||||
|
||||
@@ -601,6 +609,7 @@ Newlib C Library for sparc-rtems4.10.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: %{newlib_release}
|
||||
License: Distributable
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
|
||||
@@ -35,7 +35,7 @@ BINUTILS_RPMREL = @VERSION@%{?dist}
|
||||
include ../binutils.am
|
||||
BINUTILS_OPTS +=
|
||||
|
||||
GCC_VERS = 4.2.4
|
||||
GCC_VERS = 4.3.3
|
||||
GCC_PKGVERS = $(GCC_VERS)
|
||||
GCC_RPMREL = @VERSION@%{?dist}
|
||||
include ../gcc.am
|
||||
|
||||
Reference in New Issue
Block a user