Lab 04 - Building GCC
Lab 04 - GCC Build Lab This lab aims to introduce me to software building by starting with the installation of the latest GCC compiler. In this blog, I’ll walk you through the step-by-step process I followed to build and install it. STEP 1: Obtain the Source Code In the first week of this course, we were introduced to Software Portability and Optimization and was tasked to set up SSH keys to prepare for the future labs. I obtained a public and private key that allowed me to gain access to remote systems. With that, I had to connect to SPO600 Servers (AArch64 and x86-64) and cloned a git repository through gcc.gnu.org . Here's the command used to acquire a copy: git clone git://gcc.gnu.org/git/gcc.git SomeLocalDir (in my case, I named my directory "Desktop") STEP 2: Configure Your Build In a developer's world, it is strongly discouraged to configure build inside the source directories, hence, the creation of a new directory. By doing so, I was able to have a sepa...