diff options
| author | Brandon High <highb@users.noreply.github.com> | 2022-02-04 06:38:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-04 15:38:55 +0100 |
| commit | bc5686174463ad6f4f6b824b0e9b97c3039d4886 (patch) | |
| tree | 4b34f7aa81d8c884ac98642bff8b729cb357229b /install.sh | |
| parent | 4cde788d3380c0486e29e194441e6f94f5c0c552 (diff) | |
doc: Add hints on how to get gcc installed (#741)
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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" |
