summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-06 06:46:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-06 06:48:55 +0200
commit94083b0487065d8da354404b1206f1a04149f95f (patch)
tree1c47abdff7ac3744d8fe373ee8e86156c3a31bdb
parent7c121cac4dc0c183a2e901cf141ebc42e0e742d9 (diff)
downloadrtems-source-builder-94083b0487065d8da354404b1206f1a04149f95f.tar.bz2
Add GCC 7 base configuration
-rw-r--r--rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1.cfg2
-rw-r--r--source-builder/config/gcc-7-1.cfg31
2 files changed, 32 insertions, 1 deletions
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