diff options
author | Chris Johns <chrisj@rtems.org> | 2013-02-20 14:46:51 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-02-20 14:46:51 +1100 |
commit | a32dcbdda58d5d655b95932f3310a9875c47012d (patch) | |
tree | 0b1aedd7cc639849314f259ab397f38c00d3479c /rtems/config | |
parent | Architecture arm-rtems4.11 uses EABI. (diff) | |
download | rtems-source-builder-a32dcbdda58d5d655b95932f3310a9875c47012d.tar.bz2 |
Add unstable.
Add a tree of unstable configurations to track recent gcc source.
Diffstat (limited to 'rtems/config')
-rw-r--r-- | rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg | 55 | ||||
-rw-r--r-- | rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg | 55 | ||||
-rw-r--r-- | rtems/config/unstable/4.11/rtems-arm.bset | 20 |
3 files changed, 130 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg new file mode 100644 index 0000000..8c840b6 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg @@ -0,0 +1,55 @@ +# +# GCC 4.7.2., Newlib 2.0.0 +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gcc_version 4.7.2 +%define newlib_version 2.0.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 + +# +# If arm-rtems4.11 add --enable-obsolete. +# +%if %{_target} == arm-rtems4.11 +%define enable_obsolete 1 +%else +%define enable_obsolete 0 +%endif + +# +# The RTEMS 4.11 patches +# +Patch0: gcc-4.7.2-rtems4.11-20121026.diff + +# +# The gcc/newlib build instructions. We use 4.7 Release 1. +# +%include %{_configdir}/gcc-4.7-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg new file mode 100644 index 0000000..bfd08f4 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg @@ -0,0 +1,55 @@ +# +# GCC 4.8.x., Newlib 2.0.0 +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gcc_version 4.8-20130217 +%define newlib_version 2.0.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 + +# +# If arm-rtems4.11 add --enable-obsolete. +# +%if %{_target} == arm-rtems4.11 +%define enable_obsolete 1 +%else +%define enable_obsolete 0 +%endif + +# +# The RTEMS 4.11 patches +# +Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_version}/gcc-%{gcc_version}.tar.bz2 + +# +# The gcc/newlib build instructions. We use 4.7 Release 1. +# +%include %{_configdir}/gcc-4.8-1.cfg diff --git a/rtems/config/unstable/4.11/rtems-arm.bset b/rtems/config/unstable/4.11/rtems-arm.bset new file mode 100644 index 0000000..a716f8d --- /dev/null +++ b/rtems/config/unstable/4.11/rtems-arm.bset @@ -0,0 +1,20 @@ +# +# Tools Set for RTEMS ARM 4.11 Unstable +# + +%define _target arm-rtems4.11 + +%define release 1 + +# +# The RTEMS 4.11 base defines. +# +%include rtems-4.11-base.bset + +# +# Tools configuration. +# +expat-2.1.0-1 +tools/rtems-binutils-2.22-1 +tools/rtems-gcc-4.8-ss-newlib-2.0.0-1 +tools/rtems-gdb-7.5-1 |