Custom version of GCC for the Vhex kernel which enable shared object file generation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sh-elf-vhex/compile.sh

14 lines
307 B

#! /usr/bin/env bash
# check mandatory args
if [[ $# -eq 0 ]]; then
echo "missing install path prefix !" >&2
exit 1
fi
cd scripts/binutils
./configure.sh --version=2.37 && ./build.sh && ./install.sh --prefix="$1"
cd ../gcc
./configure.sh --version=11.2.0 && ./build.sh && ./install.sh --prefix="$1"