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

4.104.114.95
Last change on this file since 4f26bdb was 4f26bdb, checked in by Chris Johns <chrisj@…>, on 04/01/13 at 04:19:56

Add Canadian Cross support.

Add support to build MinGW tools using Cygwin. This is a Canadian cross
build.

Do not expand the directives when parsing a configuration file. Hold
in the package object the text as read from the configuration file. Still
parse the logic but leave the macros. This allows a configuration to be
varied when the build happens. The Canadian cross uses this to build a
build compiler used to build a Cxc runtime.

Add Cxc support to the build module. In the defaults add rm and rmfile
macros, add Cxc paths and pre-build script code.

In the setbuilder check for a Cxc build and if so and the package
allow Cxc build the build host version then the host target
version.

Add cygiwn support to the defaults processing and to the Windows module.

  • Property mode set to 100644
File size: 882 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#
37Patch0:  gcc-core-4.6.3-rtems4.11-20120303.diff
38Patch10: 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.