mirror of
https://github.com/tailix/cross.git
synced 2025-03-10 17:06:11 -04:00
19 lines
383 B
Bash
Executable file
19 lines
383 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
REPO="$(realpath "$(dirname "$(realpath "$0")")")"
|
|
|
|
cd "$REPO"
|
|
|
|
SRC="$REPO/src"
|
|
|
|
wget -nc -i 'wget.txt' -P "$SRC"
|
|
sha256sum -c 'sha256sums.txt'
|
|
|
|
tar -xf "$SRC/binutils-2.37.tar.xz" -C "$SRC"
|
|
tar -xf "$SRC/gcc-11.2.0.tar.xz" -C "$SRC"
|
|
tar -xf "$SRC/linux-5.4.199.tar.xz" -C "$SRC"
|
|
|
|
cd "$SRC/gcc-11.2.0"
|
|
./contrib/download_prerequisites
|