Add GCC 7 base configuration

This commit is contained in:
Sebastian Huber 2017-06-06 06:46:43 +02:00
parent 7c121cac4d
commit 94083b0487
2 changed files with 32 additions and 1 deletions

View File

@ -68,4 +68,4 @@
%define with_plugin 0
%define with_iconv 1
%include %{_configdir}/gcc-6-1.cfg
%include %{_configdir}/gcc-7-1.cfg

View File

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