source: rtems-source-builder/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg @ 0bf00e2

4.104.114.95
Last change on this file since 0bf00e2 was 0bf00e2, checked in by Chris Johns <chrisj@…>, on 11/08/12 at 20:09:51

Add rtems-4.11 support using gcc 4.6.3.

  • Property mode set to 100644
File size: 940 bytes
Line 
1#
2# GCC 4.6.3, Newlib 1.20.0
3#
4
5%include %{_configdir}/checks.cfg
6%include %{_configdir}/base.cfg
7
8%define gcc_version    4.6.3
9%define newlib_version 1.20.0
10%define mpfr_version   3.0.1
11%define mpc_version    0.8.2
12%define gmp_version    5.0.5
13
14%define with_threads 1
15%define with_plugin  0
16%define with_iconv   1
17
18#
19# AVR C++ does not work.
20#   configure: error: unable to detect exception model
21#
22%if %{_target} == xavr-rtems4.11
23%define enable_cxx 0
24%endif
25
26#
27# M32C C++ does not work.
28#   gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
29#
30%if %{_target} == xm32c-rtems4.11
31%define enable_cxx 0
32%endif
33
34%ifn %{defined enable_cxx}
35%define enable_cxx 1
36%endif
37
38#
39# The RTEMS 4.11 patches
40#
41Patch0:  gcc-core-4.6.3-rtems4.11-20120303.diff
42Patch10: newlib-1.20.0-rtems4.11-20121011.diff
43
44#
45# The gcc/newlib build instructions. We use 4.4 Release 1.
46#
47%include %{_configdir}/gcc-4.6-1.cfg
Note: See TracBrowser for help on using the repository browser.