The GNU project is an free-software and mass-collaboration project launched by Richard Stallman in 1983, allowing developers to have access to powerful tools for free. The compiler we will be using as an example is gcc which stands for GNU Compiler Collection. For example, if, the directive is available in the program, then the preprocessor interprets the directive and replace this directive with the content of the 'stdio.h' file. The preprocessor takes the preprocessor directive and interprets it. The preprocessor takes the source code as an input, and it removes all the comments from the source code. Into four steps, i.e., Pre-processing, Compiling, Assembling, and Linking.
The c compilation process converts the source code taken as input into
Source code for the syntactical or structural errors, and if the sourceĬode is error-free, then it generates the object code. It is done with the help of the compiler.The compiler checks the The compilation is a process of converting the source code into objectĬode.