Update cross toolchain for GCC 15.1

This commit is contained in:
2025-06-14 19:14:26 +02:00
parent 20f3d98d63
commit 0a575a9731
3 changed files with 17 additions and 5 deletions

View File

@ -3,3 +3,4 @@
source "https://rubygems.org"
gem 'rubyzip', '~> 2.4'
gem "term-ansicolor", "~> 1.11"

View File

@ -1,7 +1,14 @@
GEM
remote: https://rubygems.org/
specs:
bigdecimal (3.2.2)
rubyzip (2.4.1)
sync (0.5.0)
term-ansicolor (1.11.2)
tins (~> 1.0)
tins (1.38.0)
bigdecimal
sync
PLATFORMS
ruby
@ -9,6 +16,7 @@ PLATFORMS
DEPENDENCIES
rubyzip (~> 2.4)
term-ansicolor (~> 1.11)
BUNDLED WITH
2.6.2
2.6.7

View File

@ -11,11 +11,12 @@ require 'open3'
require 'etc'
require 'fileutils'
require 'pathname'
require 'term/ansicolor'
BINUTILS_VERSION = '2.43.1'
GLIBC_VERSION = '2.40'
KERNEL_VERSION = '5.15.178'
GCC_VERSION = "14.2.0"
BINUTILS_VERSION = '2.44'
GLIBC_VERSION = '2.41'
KERNEL_VERSION = '5.15.185'
GCC_VERSION = "15.1.0"
TMP = Pathname.new('./tmp')
@ -85,6 +86,8 @@ def find_build_target(gcc_version, target)
end
def download_and_unarchive(url, target)
puts Term::ANSIColor.green "Downloading #{url}."
case File.extname url.path
when '.bz2'
archive_type = '-j'