Commit 9a284fbd authored by Lenard Pratt's avatar Lenard Pratt

Updated dependices to use gcc7 as using thats the latest version from...

Updated dependices to use gcc7 as using thats the latest version from homebrew, using gcc6 would cause build errors as that this branch fixed
parent 1124e5e9
......@@ -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'
......
......@@ -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"
......
......@@ -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
......
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