blob: 6aafb6024eac5521b999fa3746ca0331bfc813ff (
plain)
1
2
3
4
5
6
|
#!/bin/sh
# Automatically installs the dependecies for building the compiler.
DISTRO=$(uname -a | awk '{print $2}')
[ $DISTRO != "debian" ] && echo "Installer for dependecies only works on debian currently. Check https://wiki.osdev.org/GCC_Cross-Compiler#Installing_Dependencies for more information." && exit 1
# Currently only debian(11 or 12) is supported
sudo apt install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo
|