How the Compiler Works for Creating an Executable File From a Source File

Simon Sun
2 min readFeb 6, 2021

— What happens when you type gcc main.c?

The computer was invented over 70 years since 1946. It has been developed, iterated, and become super powerful as of today. However, the mechanism of how a computer handles the data hasn’t been changed much. It still only recognizes the electronic signal — on and off, which…

--

--

Simon Sun

Students at Holberton School towards Full Stack Software Engineer