source:
rtems-source-builder/rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg
@
081f8ff
Last change on this file since 081f8ff was 9a15c40, checked in by Chris Johns <chrisj@…>, on 05/13/14 at 13:26:09 | |
---|---|
|
|
File size: 1.1 KB |
Line | |
---|---|
1 | # |
2 | # GCC 4.7.2., 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.7.2/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 | # |
22 | # If arm-rtems4.11 add --enable-obsolete. |
23 | # |
24 | %if %{_target} == arm-rtems4.11 |
25 | %define enable_obsolete 1 |
26 | %else |
27 | %define enable_obsolete 0 |
28 | %endif |
29 | |
30 | %include %{_configdir}/checks.cfg |
31 | %include %{_configdir}/base.cfg |
32 | |
33 | %define gcc_version 4.7.2 |
34 | %define newlib_version 1.20.0 |
35 | %define mpfr_version 3.0.1 |
36 | %define mpc_version 0.8.2 |
37 | %define gmp_version 5.0.5 |
38 | |
39 | %define with_threads 1 |
40 | %define with_plugin 0 |
41 | %define with_iconv 1 |
42 | |
43 | # |
44 | # The RTEMS 4.11 patches |
45 | # |
46 | %patch add gcc %{rtems_gcc_patches}/gcc-4.7.2-rtems4.11-20121026.diff |
47 | %patch add newlib %{rtems_newlib_patches}/newlib-1.20.0-rtems4.11-20121011.diff |
48 | |
49 | # |
50 | # The gcc/newlib build instructions. We use 4.7 Release 1. |
51 | # |
52 | %include %{_configdir}/gcc-4.7-1.cfg |
Note: See TracBrowser
for help on using the repository browser.