diff options
author | Chris Johns <chrisj@rtems.org> | 2012-11-30 17:13:18 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-11-30 17:13:18 +1100 |
commit | d34a0a9b7f4d8b74ae5f8186371283f9f94ec520 (patch) | |
tree | 8b50ffc80c6f78ff9f36432b6625cb3206a45e69 /rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg | |
parent | Remove the _bindir from the path as it breaks on MacOS with python enabled. (diff) | |
download | rtems-source-builder-d34a0a9b7f4d8b74ae5f8186371283f9f94ec520.tar.bz2 |
Add rtems-4.11 support for 4.7.2.
Diffstat (limited to 'rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg')
-rw-r--r-- | rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg b/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg new file mode 100644 index 0000000..cb1dcf6 --- /dev/null +++ b/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg @@ -0,0 +1,47 @@ +# +# GCC 4.7.2., Newlib 1.20.0 +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gcc_version 4.7.2 +%define newlib_version 1.20.0 +%define mpfr_version 3.0.1 +%define mpc_version 0.8.2 +%define gmp_version 5.0.5 + +%define with_threads 1 +%define with_plugin 0 +%define with_iconv 1 + +# +# AVR C++ does not work. +# configure: error: unable to detect exception model +# +%if %{_target} == avr-rtems4.11 +%define enable_cxx 0 +%endif + +# +# M32C C++ does not work. +# gcc-4.7.2/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision +# +%if %{_target} == m32c-rtems4.11 +%define enable_cxx 0 +%endif + +%ifn %{defined enable_cxx} +%define enable_cxx 1 +%endif + +# +# The RTEMS 4.11 patches +# +Patch0: gcc-4.7.2-rtems4.11-20121026.diff +Patch10: newlib-1.20.0-rtems4.11-20121011.diff + +# +# The gcc/newlib build instructions. We use 4.7 Release 1. +# +%include %{_configdir}/gcc-4.7-1.cfg |