summaryrefslogtreecommitdiffstats
path: root/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-09 07:09:51 +1100
committerChris Johns <chrisj@rtems.org>2012-11-09 07:11:36 +1100
commit0bf00e2d8061dae538129b80391e2a1b3d705819 (patch)
tree08c92709a8cbddc8676ea3f549a12ddf2071adef /rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
parentFix the install point in the STLink configuration. (diff)
downloadrtems-source-builder-0bf00e2d8061dae538129b80391e2a1b3d705819.tar.bz2
Add rtems-4.11 support using gcc 4.6.3.
Diffstat (limited to '')
-rw-r--r--rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg47
1 files changed, 47 insertions, 0 deletions
diff --git a/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg b/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
new file mode 100644
index 0000000..a7838c8
--- /dev/null
+++ b/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
@@ -0,0 +1,47 @@
+#
+# GCC 4.6.3, Newlib 1.20.0
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 4.6.3
+%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} == xavr-rtems4.11
+%define enable_cxx 0
+%endif
+
+#
+# M32C C++ does not work.
+# gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
+#
+%if %{_target} == xm32c-rtems4.11
+%define enable_cxx 0
+%endif
+
+%ifn %{defined enable_cxx}
+%define enable_cxx 1
+%endif
+
+#
+# The RTEMS 4.11 patches
+#
+Patch0: gcc-core-4.6.3-rtems4.11-20120303.diff
+Patch10: newlib-1.20.0-rtems4.11-20121011.diff
+
+#
+# The gcc/newlib build instructions. We use 4.4 Release 1.
+#
+%include %{_configdir}/gcc-4.6-1.cfg