The C Compilation Process

Exemple of a C script:

#include <stdio.h>

int main(void)
{
printf("Hello, World!");
return 0;
}

Preprocessing:

gcc -E filename.c

Compilation:

gcc -S filename.c

Assembly:

gcc -c filename.c

Linking:

gcc -o filename filename.c

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store