Posts

Showing posts with the label Lab4

SPO600 Lab4 -GCC Build Lab

Image
 In this lab, we are practicing about building large software project, utilizing tools such as make and automake/autotools. I will work on two server, x86-001 and aarch64-002 Task  - on each of the servers, obtain build and install the source code for the current development version of the GCC compiler. Step 1 - Obtain the source code  step 1.1 the command to create a directory for cloning the GCC source code: mkdir gccsource  step 1.2 command to clone the source code into the current directory: git clone git://gcc.gnu.org/git/gcc.git ./gccsource Step 2 - Configure the build step 2.1 Create a directory for the build of GCC and go into it. We use this directory to build the ggc so that the files created during the build go into this directory. Commands: mkdir gcc-build-003 cd gcc-build-003 step 2.2 When I configure the build,  I do not want the new GCC wipe out the original gcc in the server. So, I use the --prefix=$HOME/spo600/lab4/gcc-test-003 to set the target...