GNU/Linux Ubuntu 21.04 Installing GCC 10.3 from Source – QuickStart Guide
Hi! This tutorial will guide you step-by-step on How to Install GNU Compiler Collection 10.3.x from Source in Ubuntu 21.04 Hirsute GNU/Linux.
And the GCC 10.3 for Ubuntu 21.04 is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.
Especially relevant: GCC 10.3 back-ported 178 Bug Fixes to the release compared to GCC 10.2.
1. Launching Terminal
Open a Shell Session
(Press “Enter” to Execute Commands)sudo apt update
2. Querying System GCC
First, find out what the actual System GCC
Play:which gcc
Take Note of the PATH to use after installation for switching the System GCC.
Possibly to Check the current GCC version issue:gcc -v
Contents