2021-11-14 12:14:41 +01:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
2021-11-17 19:41:16 +01:00
|
|
|
# check mandatory args
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
|
|
echo "missing install path prefix !" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2022-05-14 11:07:16 +02:00
|
|
|
|
2021-11-16 17:43:29 +01:00
|
|
|
cd scripts/binutils
|
2021-11-17 19:41:16 +01:00
|
|
|
./configure.sh --version=2.37 && ./build.sh && ./install.sh --prefix="$1"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
cd ../gcc
|
2021-11-17 19:41:16 +01:00
|
|
|
./configure.sh --version=11.2.0 && ./build.sh && ./install.sh --prefix="$1"
|