Changeset 9589c665 in rtems


Ignore:
Timestamp:
Sep 3, 2008, 10:48:11 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
92ba0a51
Parents:
d043ebc
Message:

Regenerate.

Location:
contrib/crossrpms/rtems4.9
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "arm-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-arm-rtems4.9-binutils
    164 
    165186GNU binutils targetting arm-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "avr-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/avr-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/avr-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-avr-rtems4.9-binutils
    164 
    165186GNU binutils targetting avr-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
     
    105105Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    106106%if "%{newlib_version}" == "1.16.0"
    107 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     107Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    108108%endif
    109109%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "bfin-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/bfin-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/bfin-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-bfin-rtems4.9-binutils
    164 
    165186GNU binutils targetting bfin-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
     
    105105Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    106106%if "%{newlib_version}" == "1.16.0"
    107 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     107Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    108108%endif
    109109%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7171Source0:        ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
    7272%{?_without_sources:NoSource:   0}
    73 Patch0:         gdb-6.5-bfinrtems-20071114.diff
     73Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.5-bfinrtems-20071114.diff
    7474
    7575%description
     
    103103    --disable-werror \
    104104    --enable-sim \
     105%if "%{gdb_version}" >= "6.7"
     106    --with-system-readline \
     107%endif
    105108%if "%{gdb_version}" >= "6.6"
    106     --with-system-readline \
    107109    --with-expat \
    108110%endif
  • contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "h8300-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/h8300-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/h8300-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-h8300-rtems4.9-binutils
    164 
    165186GNU binutils targetting h8300-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.2.3
    30 %define gcc_version 4.2.3
    31 %define gcc_rpmvers %{expand:%(echo "4.2.3" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        11%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.2.3"
    96 Source0:        ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     95%if "%{gcc_version}" == "4.3.2"
     96Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
     100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    98102%endif
    99103%{?_without_sources:NoSource:   0}
    100104
    101 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     105%if "%{gcc_version}" == "4.3.2"
     106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     107%endif
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     110%endif
    102111%{?_without_sources:NoSource:   1}
    103112
    104113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    105114%if "%{newlib_version}" == "1.16.0"
    106 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    107116%endif
    108117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "i386-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-i386-rtems4.9-binutils
    164 
    165186GNU binutils targetting i386-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    5757%{?_without_sources:NoSource:   0}
    5858%if "%{binutils_version}" == "2.18"
    59 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    6060%endif
    6161
     
    135135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.9-windres%{_exeext}; then
    136136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/m68k-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/m68k-rtems4.9-windmc*
    137140  fi
    138141
  • contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.1
    30 %define gcc_version 4.3.1
    31 %define gcc_rpmvers %{expand:%(echo "4.3.1" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        14%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    9393%endif
    9494
     95%if "%{gcc_version}" == "4.3.2"
     96Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
    9599%if "%{gcc_version}" == "4.3.1"
    96100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-4.3.1-rtems4.9-20080628.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.3.0"
    100 Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.3.0-rtems4.9-20080501.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
     105%if "%{gcc_version}" == "4.3.2"
     106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     107%endif
    105108%if "%{gcc_version}" == "4.3.1"
    106109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107110%endif
    108 %if "%{gcc_version}" == "4.3.0"
    109 Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110 %endif
    111111%{?_without_sources:NoSource:   1}
    112112
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
  • contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "mips-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/mips-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mips-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-mips-rtems4.9-binutils
    164 
    165186GNU binutils targetting mips-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/mipstx39/rtems-4.9-mipstx39-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "powerpc-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/powerpc-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/powerpc-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-powerpc-rtems4.9-binutils
    164 
    165186GNU binutils targetting powerpc-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "sh-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sh-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sh-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-sh-rtems4.9-binutils
    164 
    165186GNU binutils targetting sh-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
  • contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-binutils.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
     
    2739BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2840
     41BuildRequires:  %{_host_rpmprefix}gcc
     42
    2943%if "%{binutils_version}" >= "2.18"
    3044# Bug in bfd: Doesn't build without texinfo installed
     
    4357%{?_without_sources:NoSource:   0}
    4458%if "%{binutils_version}" == "2.18"
    45 Patch0:         binutils-2.18-rtems4.9-20080211.diff
     59Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/binutils-2.18-rtems4.9-20080211.diff
    4660%endif
    4761
     
    5771
    5872%build
     73  export PATH="%{_bindir}:${PATH}"
    5974%if "sparc-rtems4.9" == "i686-pc-cygwin"
    6075# The cygwin sources are leaking memory
     
    6378  mkdir -p build
    6479  cd build
     80%if "%{_build}" != "%{_host}"
     81  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     82%endif
    6583  CFLAGS="$RPM_OPT_FLAGS" \
    6684  ../binutils-%{binutils_pkgvers}/configure \
     
    8199
    82100%install
     101  export PATH="%{_bindir}:${PATH}"
    83102  rm -rf $RPM_BUILD_ROOT
    84103
     
    116135  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.9-windres%{_exeext}; then
    117136    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.9-windres*
     137  fi
     138  if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/sparc-rtems4.9-windmc%{_exeext}; then
     139    rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/sparc-rtems4.9-windmc*
    118140  fi
    119141
     
    162184
    163185%description -n rtems-4.9-sparc-rtems4.9-binutils
    164 
    165186GNU binutils targetting sparc-rtems4.9.
    166187
  • contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-cpukit.spec

    rd043ebc r9589c665  
    1212%else
    1313%define _exeext %{nil}
     14%endif
     15
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
    1426%endif
    1527
  • contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec

    rd043ebc r9589c665  
    2727
    2828
    29 %define gcc_pkgvers 4.3.0
    30 %define gcc_version 4.3.0
    31 %define gcc_rpmvers %{expand:%(echo "4.3.0" | tr - _ )}
     29%define gcc_pkgvers 4.3.2
     30%define gcc_version 4.3.2
     31%define gcc_rpmvers %{expand:%(echo "4.3.2" | tr - _ )}
    3232
    3333%define newlib_version          1.16.0
     
    4141Group:          Development/Tools
    4242Version:        %{gcc_rpmvers}
    43 Release:        12%{?dist}
     43Release:        15%{?dist}
    4444License:        GPL
    4545URL:            http://gcc.gnu.org
     
    5656BuildRequires:  %{_host_rpmprefix}mpfr-devel
    5757%endif
    58 %if "%{?fedora}" >= "8"
     58%if 0%{?fedora} >= 8
    5959BuildRequires:  mpfr-devel >= 2.3.0
    6060%endif
     
    9393%endif
    9494
    95 %if "%{gcc_version}" == "4.3.0"
     95%if "%{gcc_version}" == "4.3.2"
    9696Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    97 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    98 %endif
    99 %if "%{gcc_version}" == "4.2.3"
     97Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.2-rtems4.9-20080828.diff
     98%endif
     99%if "%{gcc_version}" == "4.3.1"
    100100Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    101 Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
     101Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gcc-core-4.3.1-rtems4.9-20080628.diff
    102102%endif
    103103%{?_without_sources:NoSource:   0}
    104104
    105 %if "%{gcc_version}" == "4.3.0"
     105%if "%{gcc_version}" == "4.3.2"
    106106Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    107107%endif
    108 %if  "%{gcc_version}" == "4.2.3"
    109 Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
     108%if "%{gcc_version}" == "4.3.1"
     109Source1:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
    110110%endif
    111111%{?_without_sources:NoSource:   1}
     
    113113Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    114114%if "%{newlib_version}" == "1.16.0"
    115 Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
     115Patch50:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/newlib-1.16.0-rtems4.9-20080827.diff
    116116%endif
    117117%{?_without_sources:NoSource:   50}
  • contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gdb.spec

    rd043ebc r9589c665  
    7272%{?_without_sources:NoSource:   0}
    7373%if "%{gdb_version}" == "6.8"
    74 Patch0:         gdb-6.8-rtems4.9-20080429.diff
     74Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.9/gdb-6.8-rtems4.9-20080429.diff
    7575%endif
    7676
     
    105105    --disable-werror \
    106106    --enable-sim \
     107%if "%{gdb_version}" >= "6.7"
     108    --with-system-readline \
     109%endif
    107110%if "%{gdb_version}" >= "6.6"
    108     --with-system-readline \
    109111    --with-expat \
    110112%endif
Note: See TracChangeset for help on using the changeset viewer.