summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-09 01:20:38 +0000
committerChris Johns <chrisj@rtems.org>2014-05-09 01:20:38 +0000
commite074e75ef3f1fbfad65009225b5d6d47d1f3b527 (patch)
tree63940426f2e36c532865e7dbb09aab6e234ef028
parentconfig: Add gcc-4.9.0 configuration support. (diff)
downloadrtems-source-builder-e074e75ef3f1fbfad65009225b5d6d47d1f3b527.tar.bz2
4.11/rtems-lm32: Use gcc-4.9.0 and fix gdb simulator build on Windows.
The lm32 arch builds on gcc-4.9.0 so lets move to a recent build rather than the old 4.5.? build. Remove stdin and stdout references and the simulator io calls in gdb so the simulator builds on Windows.
-rw-r--r--rtems/config/4.11/rtems-lm32.bset6
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg37
2 files changed, 40 insertions, 3 deletions
diff --git a/rtems/config/4.11/rtems-lm32.bset b/rtems/config/4.11/rtems-lm32.bset
index b5686b9..a6d5622 100644
--- a/rtems/config/4.11/rtems-lm32.bset
+++ b/rtems/config/4.11/rtems-lm32.bset
@@ -18,9 +18,9 @@
%include rtems-4.11-base.bset
#
-# GCC 4.5.3 building LM32 breaks with multiple make jobs
+# Fix the simulator UART interface.
#
-%undefine _smp_mflags
+%define rtems_gdb_patch3 %{rtems_gdb_patches}/lm32/gdb-sim-lm32uart.diff
#
# Tools configuration.
@@ -28,6 +28,6 @@
4.11/rtems-autotools
devel/expat-2.1.0-1
tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.5.3-newlib-2.1.0-1
+tools/rtems-gcc-4.9.0-newlib-2.1.0-1
tools/rtems-gdb-7.7-1
tools/rtems-kernel-4.11
diff --git a/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg b/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg
new file mode 100644
index 0000000..00b426e
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg
@@ -0,0 +1,37 @@
+#
+# GCC 4.9.0., Newlib 2.1.0
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+%include %{_configdir}/versions.cfg
+
+%define gcc_version 4.9.0
+%define newlib_version 2.1.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
+
+%ifn %{defined with_iconv}
+%define with_iconv 1
+%endif
+
+#
+# Joel's stack_t patch.
+#
+%define rtems_gcc_patch11 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff
+%define rtems_gcc_patch11_opts -p0
+
+#
+#
+# Manage RTEMS patches
+#
+%include rtems-gcc-patches.cfg
+
+#
+# The gcc/newlib build instructions. We use 4.9 Release 1.
+#
+%include %{_configdir}/gcc-4.9-1.cfg