4.104.114.95
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 | # |
---|
41 | Patch0: gcc-core-4.6.3-rtems4.11-20120303.diff |
---|
42 | Patch10: 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.