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

4.104.114.95
Last change on this file since 9a15c40 was 9a15c40, checked in by Chris Johns <chrisj@…>, on 05/13/14 at 13:26:09

sb: Implement %source and %patch to manage source and patches.

Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.

  • Property mode set to 100644
File size: 897 bytes
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    0.8.1
20%define gmp_version    5.0.5
21
22%define with_threads 1
23%define with_plugin  0
24%define with_iconv   1
25
26#
27# The RTEMS 4.10 patches
28#
29%patch add gcc %{rtems_gcc_patches}/gcc-core-4.4.7-rtems4.10-20120314.diff
30%if %{enable_cxx}
31 %patch add gcc %{rtems_gcc_patches}/gcc-g++-4.4.7-rtems4.10-20120314.diff
32%endif
33%patch add newlib %{rtems_newlib_patches}/newlib-1.18.0-rtems4.10-20110518.diff
34
35#
36# The gcc/newlib build instructions. We use 4.4 Release 1.
37#
38%include %{_configdir}/gcc-4.4-1.cfg
Note: See TracBrowser for help on using the repository browser.