Compilation process of a C Code with gcc

Compile main.c
gcc main.c
Compilation process
  1. Pre-Processor:
gcc -E main.c -o pre-main
gcc -S main.c
Output of Assembly code
Object Code
gcc [file_name] -o [defined_name_file]

--

--

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