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.
This commit is contained in:
Chris Johns 2014-05-09 01:20:38 +00:00
parent 24473faccd
commit e074e75ef3
2 changed files with 40 additions and 3 deletions

View File

@ -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

View File

@ -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