From 114ef0827924b6f8165fc83801fd895619d993ee Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 25 Jul 2014 04:55:14 +0000 Subject: RTEMS 4.11 Update to gcc-4.8.3 with Newlib CVS 26-Jul-2014. Refactor some of the configurations to make it easier to maintain. Add gcc-4.9.x support. --- rtems/config/4.11/rtems-arm.bset | 14 +------- rtems/config/4.11/rtems-avr.bset | 13 +------ rtems/config/4.11/rtems-bfin.bset | 8 +---- rtems/config/4.11/rtems-h8300.bset | 8 +---- rtems/config/4.11/rtems-i386.bset | 12 +------ rtems/config/4.11/rtems-lm32.bset | 8 +---- rtems/config/4.11/rtems-m32c.bset | 10 ++---- rtems/config/4.11/rtems-m32r.bset | 8 +---- rtems/config/4.11/rtems-m68k.bset | 9 +---- rtems/config/4.11/rtems-microblaze.bset | 8 +---- rtems/config/4.11/rtems-mips.bset | 8 +---- rtems/config/4.11/rtems-moxie.bset | 8 +---- rtems/config/4.11/rtems-nios2.bset | 6 ---- rtems/config/4.11/rtems-or1k.bset | 9 ++--- rtems/config/4.11/rtems-powerpc.bset | 8 +---- rtems/config/4.11/rtems-sh.bset | 8 +---- rtems/config/4.11/rtems-sparc.bset | 8 +---- rtems/config/4.11/rtems-sparc64.bset | 8 +---- rtems/config/4.11/rtems-v850.bset | 13 +------ rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg | 41 ++++++++++++++++++++++ .../config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg | 35 ++---------------- .../config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg | 11 ++++++ rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg | 41 ++++++++++++++++++++++ .../config/tools/rtems-gcc-4.9.0-newlib-cvs-1.cfg | 11 ++++++ .../config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg | 11 ++++++ rtems/config/tools/rtems-gdb-7.7.1-1.cfg | 23 ++++++++++++ 26 files changed, 161 insertions(+), 186 deletions(-) create mode 100644 rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg create mode 100644 rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg create mode 100644 rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg create mode 100644 rtems/config/tools/rtems-gcc-4.9.0-newlib-cvs-1.cfg create mode 100644 rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg create mode 100644 rtems/config/tools/rtems-gdb-7.7.1-1.cfg diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset index d876653..272389f 100644 --- a/rtems/config/4.11/rtems-arm.bset +++ b/rtems/config/4.11/rtems-arm.bset @@ -6,18 +6,6 @@ %define rtems_arch arm -# -# The RTEMS 4.11 BSP to build and test -# -# Do not build: lm3s3749 -# For automated testing, edb7312 should be configured with: -# - ON_SKYEYE=1 -# The GDB based simulators could be used as defaults for testing though. -# Skyeye includes coverage. -# -%define rtems_bsps csb336,csb337,csb637,kit637_v6,edb7312,gba,arm1136jfs,arm1136js,arm7tdmi,arm920,armcortexa9,gp32,gumstix,lm3s6965,lm3s6965_qemu,lpc17xx_ea_ram,lpc17xx_ea_rom_int,lpc17xx_plx800_ram,lpc17xx_plx800_rom_int,lpc2362,lpc23xx_tli800,lpc24xx_ea,lpc24xx_ncs_ram,lpc24xx_ncs_rom_ext,lpc24xx_ncs_rom_int,lpc24xx_plx800_ram,lpc24xx_plx800_rom_int,lpc32xx_mzx,lpc32xx_mzx_stage_1,lpc32xx_mzx_stage_2,lpc32xx_phycore,nds,raspberrypi,rtl22xx,rtl22xx_t,smdk2410,stm32f4 -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -34,6 +22,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-avr.bset b/rtems/config/4.11/rtems-avr.bset index 548bb5c..1aa48f4 100644 --- a/rtems/config/4.11/rtems-avr.bset +++ b/rtems/config/4.11/rtems-avr.bset @@ -6,17 +6,6 @@ %define rtems_arch avr -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps avrtest -%define rtems_test_bsps avrtest - -# -# The RTEMS 4.11 base defines. -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -46,6 +35,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-bfin.bset b/rtems/config/4.11/rtems-bfin.bset index 4402042..5d3f8c5 100644 --- a/rtems/config/4.11/rtems-bfin.bset +++ b/rtems/config/4.11/rtems-bfin.bset @@ -6,12 +6,6 @@ %define rtems_arch bfin -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -23,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-h8300.bset b/rtems/config/4.11/rtems-h8300.bset index 9df4211..389d9ee 100644 --- a/rtems/config/4.11/rtems-h8300.bset +++ b/rtems/config/4.11/rtems-h8300.bset @@ -6,12 +6,6 @@ %define rtems_arch h8300 -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -28,6 +22,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-i386.bset b/rtems/config/4.11/rtems-i386.bset index ae8ef9f..c4dfea9 100644 --- a/rtems/config/4.11/rtems-i386.bset +++ b/rtems/config/4.11/rtems-i386.bset @@ -6,16 +6,6 @@ %define rtems_arch i386 -# -# The RTEMS 4.11 BSP to build and test -# -# For automated testing on Qemu, pc386 should be configured with: -# - USE_COM1_AS_CONSOLE=1 -# - BSP_PRESS_KEY_FOR_RESET=0 -# - BSP_RESET_BOARD_AT_EXIT=1 -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -27,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-lm32.bset b/rtems/config/4.11/rtems-lm32.bset index da79cd4..9234ca9 100644 --- a/rtems/config/4.11/rtems-lm32.bset +++ b/rtems/config/4.11/rtems-lm32.bset @@ -6,12 +6,6 @@ %define rtems_arch lm32 -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps lm32_evr - # # The RTEMS 4.11 base defines. # @@ -28,6 +22,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.9.0-newlib-2.1.0-1 +tools/rtems-gcc-4.9.0-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-m32c.bset b/rtems/config/4.11/rtems-m32c.bset index 1f17186..50ba2d4 100644 --- a/rtems/config/4.11/rtems-m32c.bset +++ b/rtems/config/4.11/rtems-m32c.bset @@ -6,12 +6,6 @@ %define rtems_arch m32c -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps m32csim - # # The RTEMS 4.11 base defines. # @@ -20,7 +14,7 @@ # # Disable building a C++ compiler. # -# gcc-4.7.2/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision +# # %define enable_cxx 0 @@ -42,6 +36,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-m32r.bset b/rtems/config/4.11/rtems-m32r.bset index 5a2eddb..bccef2b 100644 --- a/rtems/config/4.11/rtems-m32r.bset +++ b/rtems/config/4.11/rtems-m32r.bset @@ -6,12 +6,6 @@ %define rtems_arch m32r -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps m32rsim - # # The RTEMS 4.11 base defines. # @@ -23,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-m68k.bset b/rtems/config/4.11/rtems-m68k.bset index 104f6d1..1953f3e 100644 --- a/rtems/config/4.11/rtems-m68k.bset +++ b/rtems/config/4.11/rtems-m68k.bset @@ -6,13 +6,6 @@ %define rtems_arch m68k -# -# The RTEMS 4.11 BSP to build and test -# -# uC5282 requires a patched special version of Qemu -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -24,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-microblaze.bset b/rtems/config/4.11/rtems-microblaze.bset index 97b2638..226e312 100644 --- a/rtems/config/4.11/rtems-microblaze.bset +++ b/rtems/config/4.11/rtems-microblaze.bset @@ -6,12 +6,6 @@ %define rtems_arch microblaze -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -33,6 +27,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-mips.bset b/rtems/config/4.11/rtems-mips.bset index dacf302..eb03ebf 100644 --- a/rtems/config/4.11/rtems-mips.bset +++ b/rtems/config/4.11/rtems-mips.bset @@ -6,12 +6,6 @@ %define rtems_arch mips -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps jmr3904 - # # The RTEMS 4.11 base defines. # @@ -23,7 +17,7 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-mipstx39-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-moxie.bset b/rtems/config/4.11/rtems-moxie.bset index f549687..9d4a4b7 100644 --- a/rtems/config/4.11/rtems-moxie.bset +++ b/rtems/config/4.11/rtems-moxie.bset @@ -6,12 +6,6 @@ %define rtems_arch moxie -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps moxiesim - # # The RTEMS 4.11 base defines. # @@ -24,6 +18,6 @@ devel/expat-2.1.0-1 devel/dtc-1.2.0 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-nios2.bset b/rtems/config/4.11/rtems-nios2.bset index 602a853..15c82d0 100644 --- a/rtems/config/4.11/rtems-nios2.bset +++ b/rtems/config/4.11/rtems-nios2.bset @@ -8,12 +8,6 @@ %define rtems_arch nios2 -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # diff --git a/rtems/config/4.11/rtems-or1k.bset b/rtems/config/4.11/rtems-or1k.bset index 83a4a8d..90c596b 100644 --- a/rtems/config/4.11/rtems-or1k.bset +++ b/rtems/config/4.11/rtems-or1k.bset @@ -6,11 +6,6 @@ %define rtems_arch or1k -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all - # # The RTEMS 4.11 base defines. # @@ -27,7 +22,7 @@ tools/rtems-gdb-7.7-1 # # or1k specific patches -# +# #binutils %patch add binutils -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/binutils-2.24-or1k-rtems.diff @@ -38,7 +33,7 @@ tools/rtems-gdb-7.7-1 #gcc %patch add gcc -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff -#gdb +#gdb %patch add gdb -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff # diff --git a/rtems/config/4.11/rtems-powerpc.bset b/rtems/config/4.11/rtems-powerpc.bset index 4d124ed..35255fb 100644 --- a/rtems/config/4.11/rtems-powerpc.bset +++ b/rtems/config/4.11/rtems-powerpc.bset @@ -6,12 +6,6 @@ %define rtems_arch powerpc -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps psim - # # The RTEMS 4.11 base defines. # @@ -23,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-sh.bset b/rtems/config/4.11/rtems-sh.bset index 207b2ea..7f02eed 100644 --- a/rtems/config/4.11/rtems-sh.bset +++ b/rtems/config/4.11/rtems-sh.bset @@ -6,12 +6,6 @@ %define rtems_arch sh -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps simsh1 - # # The RTEMS 4.11 base defines. # @@ -23,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-sparc.bset b/rtems/config/4.11/rtems-sparc.bset index c33151c..207a5fe 100644 --- a/rtems/config/4.11/rtems-sparc.bset +++ b/rtems/config/4.11/rtems-sparc.bset @@ -6,12 +6,6 @@ %define rtems_arch sparc -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps sis - # # The RTEMS 4.11 base defines. # @@ -28,6 +22,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-sparc64.bset b/rtems/config/4.11/rtems-sparc64.bset index 947001f..cca2da4 100644 --- a/rtems/config/4.11/rtems-sparc64.bset +++ b/rtems/config/4.11/rtems-sparc64.bset @@ -6,12 +6,6 @@ %define rtems_arch sparc64 -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps none - # # The RTEMS 4.11 base defines. # @@ -23,6 +17,6 @@ 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/4.11/rtems-v850.bset b/rtems/config/4.11/rtems-v850.bset index 1d0ac6c..87ee3dc 100644 --- a/rtems/config/4.11/rtems-v850.bset +++ b/rtems/config/4.11/rtems-v850.bset @@ -6,28 +6,17 @@ %define rtems_arch v850 -# -# The RTEMS 4.11 BSP to build and test -# -%define rtems_bsps all -%define rtems_test_bsps v850sim - # # The RTEMS 4.11 base defines. # %include rtems-4.11-base.bset -# -# GCC 4.8 V850 Patch -# -%patch add gcc %{rtems_gcc_patches}/v850/gcc-4.8.2-rtems4.11-20140349.diff - # # Tools configuration. # 4.11/rtems-autotools devel/expat-2.1.0-1 tools/rtems-binutils-2.24-1 -tools/rtems-gcc-4.8.2-newlib-2.1.0-1 +tools/rtems-gcc-4.8.3-newlib-cvs-1 tools/rtems-gdb-7.7-1 tools/rtems-kernel-4.11 diff --git a/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg new file mode 100644 index 0000000..3ce89c2 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg @@ -0,0 +1,41 @@ +# +# GCC 4.8.x., Newlib CVS +# + +%ifn %{defined gcc_version} + %error No GCC version defined. +%endif + +%ifn %{defined newlib_version} + %error No Newlib version defined. +%endif + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg +%include %{_configdir}/versions.cfg + +%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 + +# +# Newlib is from CVS. +# +%source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset + +# +# Joel's stack_t patch. +# +%patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff + +# +# The gcc/newlib build instructions. We use 4.8 Release 1. +# +%include %{_configdir}/gcc-4.8-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg index ca62545..37ca021 100644 --- a/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg @@ -2,39 +2,10 @@ # GCC 4.8.2., Newlib CVS # -%include %{_configdir}/checks.cfg -%include %{_configdir}/base.cfg -%include %{_configdir}/versions.cfg - %define gcc_version 4.8.2 -%define newlib_version 11-Dec-2013 -%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 - -# -# Newlib is from CVS. -# -%source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset - -# -# Chris's patch to use the POSIX thread model for C++. -# -%patch add gcc %{rtems_gcc_patches}/gcc-rtems-thread-model-posix-1.diff - -# -# Joel's stack_t patch. -# -%patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff +%define newlib_version 12-Jul-2014 # -# The gcc/newlib build instructions. We use 4.8 Release 1. +# The gcc/newlib build instructions. # -%include %{_configdir}/gcc-4.8-1.cfg +%include tools/rtems-gcc-4.8-newlib-cvs-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg new file mode 100644 index 0000000..2cbacd7 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg @@ -0,0 +1,11 @@ +# +# GCC 4.8.3., Newlib CVS +# + +%define gcc_version 4.8.3 +%define newlib_version 26-Jul-2014 + +# +# The gcc/newlib build instructions. +# +%include tools/rtems-gcc-4.8-newlib-cvs-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg new file mode 100644 index 0000000..aedba21 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg @@ -0,0 +1,41 @@ +# +# GCC 4.9.x., Newlib CVS. +# + +%ifn %{defined gcc_version} + %error No GCC version defined. +%endif + +%ifn %{defined newlib_version} + %error No Newlib version defined. +%endif + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg +%include %{_configdir}/versions.cfg + +%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 + +# +# Newlib is from CVS. +# +%source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset + +# +# Joel's stack_t patch. +# +%patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff + +# +# The gcc/newlib build instructions. We use 4.9 Release 1. +# +%include %{_configdir}/gcc-4.9-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.9.0-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.9.0-newlib-cvs-1.cfg new file mode 100644 index 0000000..c8ba8b7 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.9.0-newlib-cvs-1.cfg @@ -0,0 +1,11 @@ +# +# GCC 4.9.0., Newlib CVS +# + +%define gcc_version 4.9.0 +%define newlib_version 12-Jul-2014 + +# +# The gcc/newlib build instructions. +# +%include tools/rtems-gcc-4.9-newlib-cvs-1.cfg diff --git a/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg new file mode 100644 index 0000000..93e59e9 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg @@ -0,0 +1,11 @@ +# +# GCC 4.9.1., Newlib CVS +# + +%define gcc_version 4.9.1 +%define newlib_version 26-Jul-2014 + +# +# The gcc/newlib build instructions. +# +%include tools/rtems-gcc-4.9-newlib-cvs-1.cfg diff --git a/rtems/config/tools/rtems-gdb-7.7.1-1.cfg b/rtems/config/tools/rtems-gdb-7.7.1-1.cfg new file mode 100644 index 0000000..55096e6 --- /dev/null +++ b/rtems/config/tools/rtems-gdb-7.7.1-1.cfg @@ -0,0 +1,23 @@ +# +# GDB 7.7.1. +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gdb_version 7.7.1 + +# +# Clean up the sim-arange inline code so it builds. +# +%patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff +%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff + +%if %{_build_os} == freebsd + %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py +%endif + +# +# The gdb build instructions. We use 7.xx Release 1. +# +%include %{_configdir}/gdb-7-1.cfg -- cgit v1.2.3