I figured out how to fix it. Ran sudo apt-get autoremove gcc, then ran sudo apt-get install build-essential
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.