Add vendored Binutils and GCC

This commit is contained in:
Alex Kotov 2022-01-12 09:03:55 +05:00
parent 934b06976d
commit ecea2e591c
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
5 changed files with 23 additions and 0 deletions

10
.gitignore vendored
View File

@ -54,3 +54,13 @@
/tests/test_pfa_assert
/tests/test_printf
/tests/test_units_human
/vendor/*
!/vendor/cross/
!/vendor/fetch.sh
!/vendor/limine/
!/vendor/sha256sums.txt
!/vendor/wget.txt
/vendor/cross/*
!/vendor/cross/.keep

0
vendor/cross/.keep vendored Normal file
View File

9
vendor/fetch.sh vendored Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
wget -nc -i 'vendor/wget.txt' -P 'vendor'
sha256sum -c 'vendor/sha256sums.txt'
tar -xf 'vendor/binutils-2.37.tar.xz' -C 'vendor'
tar -xf 'vendor/gcc-11.2.0.tar.xz' -C 'vendor'

2
vendor/sha256sums.txt vendored Normal file
View File

@ -0,0 +1,2 @@
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c vendor/binutils-2.37.tar.xz
d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b vendor/gcc-11.2.0.tar.xz

2
vendor/wget.txt vendored Normal file
View File

@ -0,0 +1,2 @@
https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz
https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz