source: rtems-source-builder/rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg @ b0fc0b2

4.10
Last change on this file since b0fc0b2 was f7ecb55, checked in by Chris Johns <chrisj@…>, on 01/17/18 at 02:41:16

gcc: Update the MPC part of gcc to 1.0.3 as it is available on GNU's FTP.

Update #3262

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2# GCC 4.4.7, Newlib 1.18.0
3#
4
5#
6# M32C C++ does not work.
7#   gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
8#
9%if %{_target} == m32c-rtems4.10
10%define enable_cxx 0
11%endif
12
13%include %{_configdir}/checks.cfg
14%include %{_configdir}/base.cfg
15
16%define gcc_version    4.4.7
17%define newlib_version 1.18.0
18%define mpfr_version   2.4.2
19%define mpc_version    1.0.3
20%define gmp_version    5.0.5
21
22%define with_threads 1
23%define with_plugin  0
24%ifn %{defined with_iconv}
25 %define with_iconv   1
26%endif
27
28%hash md5 gcc-core-%{gcc_version}.tar.bz2 3bda0831d654964ee152c46fa8d29e46
29%hash md5 gcc-g++-%{gcc_version}.tar.gz 421ba1dfe821f32998b28ee40e71dd37
30%hash md5 newlib-%{newlib_version}.tar.gz 3dae127d4aa659d72f8ea8c0ff2a7a20
31
32#
33# Hash checksums of the libraries used in GCC.
34#
35%hash md5 mpfr-%{mpfr_version}.tar.bz2 89e59fe665e2b3ad44a6789f40b059a0
36%hash md5 mpc-%{mpc_version}.tar.gz    d6a1d5f8ddea3abd2cc3e98f58352d26
37%hash md5 gmp-%{gmp_version}.tar.bz2   041487d25e9c230b0c42b106361055fe
38
39#
40# The RTEMS 4.10 patches
41#
42%patch add gcc %{rtems_gcc_patches}/gcc-core-4.4.7-rtems4.10-20120314.diff
43%hash md5 gcc-core-4.4.7-rtems4.10-20120314.diff 084c9085c255b1f6a9204e239dde0579
44%patch add gcc %{rtems_gcc_patches}/gcc-core-4.4.7-rtems4.10-20151123.diff
45%hash sha512 gcc-core-4.4.7-rtems4.10-20151123.diff 70e5868157fd02f011e66f8fa9dcdc3341deee47ff105d9102a501b6e346c0e635c70600ff0646ea5f28faf8152e806367cf8acb60ff35ac61348af20796c4e4
46%if %{enable_cxx}
47 %patch add gcc %{rtems_gcc_patches}/gcc-g++-4.4.7-rtems4.10-20120314.diff
48 %hash md5 gcc-g++-4.4.7-rtems4.10-20120314.diff e187db20f6d98048368f9ef86f9126dc
49%endif
50%patch add newlib %{rtems_newlib_patches}/newlib-1.18.0-rtems4.10-20110518.diff
51%hash md5 newlib-1.18.0-rtems4.10-20110518.diff e6508b36490d841b00d5011ed11cdc16
52
53#
54# The gcc/newlib build instructions. We use 4.4 Release 1.
55#
56%include %{_configdir}/gcc-4.4-1.cfg
Note: See TracBrowser for help on using the repository browser.