source: rtems-source-builder/rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg @ eea3793

Last change on this file since eea3793 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.6.3, Newlib 1.20.0
3#
4
5#
6# AVR C++ does not work.
7#   configure: error: unable to detect exception model
8#
9%if %{_target} == avr-rtems4.11
10%define enable_cxx 0
11%endif
12
13#
14# M32C C++ does not work.
15#   gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
16#
17%if %{_target} == m32c-rtems4.11
18%define enable_cxx 0
19%endif
20
21%include %{_configdir}/checks.cfg
22%include %{_configdir}/base.cfg
23
24%define gcc_version    4.6.3
25%define newlib_version 1.20.0
26%define mpfr_version   3.0.1
27%define mpc_version    0.8.2
28%define gmp_version    5.0.5
29
30%define with_threads 1
31%define with_plugin  0
32%define with_iconv   1
33
34#
35# The RTEMS 4.11 patches
36#
37%patch add gcc gcc-core-4.6.3-rtems4.11-20120303.diff
38%patch add newlib newlib-1.20.0-rtems4.11-20121011.diff
39
40#
41# The gcc/newlib build instructions. We use 4.4 Release 1.
42#
43%include %{_configdir}/gcc-4.6-1.cfg
Note: See TracBrowser for help on using the repository browser.