Commit c70d15ad authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub

Merge pull request #1 from Lapz/update_to_gcc7

Updated dependencies to use gcc7
parents 1124e5e9 0345c541
......@@ -7,10 +7,10 @@ class ArmElfBinutils < Formula
depends_on 'gcc' => :build
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--disable-nls', '--target=x86_64-elf','--disable-werror',
......
......@@ -2,9 +2,9 @@ require 'formula'
class ArmElfGcc < Formula
homepage 'http://gcc.gnu.org'
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
sha256 "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5"
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
sha256 "8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17f"
depends_on 'gmp'
depends_on 'libmpc'
......@@ -14,10 +14,10 @@ class ArmElfGcc < Formula
def install
binutils = Formula.factory 'arm-elf-binutils'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['PATH'] += ":#{binutils.prefix/"bin"}"
mkdir 'build' do
......
......@@ -9,10 +9,10 @@ class ArmElfGdb < Formula
depends_on 'arm-elf-gcc'
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--target=arm-elf-eabi', "--prefix=#{prefix}" ,'--disable-werror'
......
......@@ -7,10 +7,10 @@ class I586ElfBinutils < Formula
depends_on 'gcc' => :build
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--disable-nls', '--target=x86_64-elf','--disable-werror',
......
......@@ -2,9 +2,9 @@ require 'formula'
class I586ElfGcc < Formula
homepage 'http://gcc.gnu.org'
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
sha256 "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5"
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
sha256 "8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17f"
depends_on "gmp"
depends_on "libmpc"
......@@ -16,10 +16,10 @@ class I586ElfGcc < Formula
binutils = Formula.factory 'i586-elf-binutils'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['PATH'] += ":#{binutils.prefix/"bin"}"
mkdir 'build' do
......
......@@ -9,10 +9,10 @@ class I586ElfGdb < Formula
depends_on 'i586-elf-gcc'
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--target=i586-elf', "--prefix=#{prefix}", "--disable-werror"
......
......@@ -7,10 +7,10 @@ class X8664ElfBinutils < Formula
depends_on 'gcc' => :build
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--disable-nls', '--target=x86_64-elf','--disable-werror',
......
......@@ -2,9 +2,9 @@ require 'formula'
class X8664ElfGcc < Formula
homepage 'http://gcc.gnu.org'
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
sha256 "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5"
url "http://mirror.tochlab.net/pub/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2"
sha256 "8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17"
depends_on "gmp"
depends_on "libmpc"
......@@ -15,10 +15,10 @@ class X8664ElfGcc < Formula
def install
binutils = Formula.factory 'x86_64-elf-binutils'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['PATH'] += ":#{binutils.prefix/"bin"}"
mkdir 'build' do
......
......@@ -9,10 +9,10 @@ class X8664ElfGdb < Formula
depends_on 'x86_64-elf-gcc'
def install
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-6'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-6'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-6'
ENV['CC'] = '/usr/local/opt/gcc/bin/gcc-7'
ENV['CXX'] = '/usr/local/opt/gcc/bin/g++-7'
ENV['CPP'] = '/usr/local/opt/gcc/bin/cpp-7'
ENV['LD'] = '/usr/local/opt/gcc/bin/gcc-7'
mkdir 'build' do
system '../configure', '--target=x86_64-pc-linux', "--prefix=#{prefix}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment