GNU/Linux Elementary OS Switching GCC Version Guide
Hi! The Tutorial Shows You Step-by-step How to Manage GCC Versions in GNU/Linux Elementary OS Desktop.
And to Switch GCC on Elementary OS I make use of the useful update-alternatives Command Line Tool.
Finally, the GCC is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.
1. Terminal Getting-Started Guide
How-to Quick-Start with Command Line on Elementary OS GNU/LinuxCommand Line Elementary OS QuickStart Guide
2. Querying for GCC
First, if needed Look up available GCCs
First, find out what the GCC in use:
which gccNext to check for others available GCC Releases use the grep Command:
ls -l /usr/bin | grep gccAnd in case of a GCC Source installation also:
ls -l /usr/local/bin | grep gccThe grep Command refine the output List showing only the Entries matching the Keyword.