doc: Add hints on how to get gcc installed (#741)

This commit is contained in:
Brandon High
2022-02-04 06:38:55 -08:00
committed by GitHub
parent 4cde788d33
commit bc56861744
2 changed files with 13 additions and 0 deletions

View File

@@ -12,6 +12,18 @@ else
exit 1
fi
if [ -x "$(command -v cc)" ]
then
echo "SUCCESS: cc is installed"
else
echo "ERROR: cc does not seem to be installed."
echo "Please download (g)cc using your package manager."
echo "OSX: xcode-select --install"
echo "Deb: sudo apt install gcc"
echo "Yum: sudo yum -y install gcc"
exit 1
fi
if [ -x "$(command -v rustc)" ]
then
echo "SUCCESS: Rust is installed"