What happens when you type gcc main.c?

Demystifying Compilation: A Step-by-Step Guide with gcc