What happens if you run GCC main.c
1 min readFeb 7, 2020
But what is GCC in the first place?
GCC is basically a system made by the GNU Project for the compilation of various programming languages. The first of these languages to be supported was C.
So what can we do with GCC?
Know what GCC is, we can get to what it does and the steps it takes to do it, in this case, compiling a C language file. For this explanation, we will have a C file named “main.c” we will run the following command:
gcc main.c
This command starts the compilation process of GCC which is divided into 4 parts:
* Preprocessing
*Compilation
*Assembly
*Linking
Once these processes are done GCC will generate a default executable file called:
a.out