From 94083b0487065d8da354404b1206f1a04149f95f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Jun 2017 06:46:43 +0200 Subject: Add GCC 7 base configuration --- .../rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg | 2 +- source-builder/config/gcc-7-1.cfg | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 source-builder/config/gcc-7-1.cfg diff --git a/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg index ffadf0b..71ecd31 100644 --- a/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg +++ b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg @@ -68,4 +68,4 @@ %define with_plugin 0 %define with_iconv 1 -%include %{_configdir}/gcc-6-1.cfg +%include %{_configdir}/gcc-7-1.cfg diff --git a/source-builder/config/gcc-7-1.cfg b/source-builder/config/gcc-7-1.cfg new file mode 100644 index 0000000..db1e3cc --- /dev/null +++ b/source-builder/config/gcc-7-1.cfg @@ -0,0 +1,31 @@ +# +# GCC 7 Version 1. +# +# This configuration file configure's, make's and install's gcc. It uses +# newlib, MPFR, MPC, and GMP in a one-tree build configuration. +# + +# +# Source +# +# +# GCC core and G++ +# +%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2 + +# +# Newlib +# +%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz + +# +# Packages GCC requires +# +%source set mpfr https://ftp.gnu.org/gnu/mpfr/mpfr-%{mpfr_version}.tar.bz2 +%source set mpc https://ftp.gnu.org/gnu/mpc/mpc-%{mpc_version}.tar.gz +%source set gmp https://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 + +# +# GCC Common build script. +# +%include %{_configdir}/gcc-common-1.cfg -- cgit v1.2.3