Examining the compilation process. part 2.

Posted by Scott_Ruecker on Oct 22, 2008 12:08 PM
By Linux Journal
Mail this story
Web version

In my last article, I discussed, in quite some detail, the process that GCC uses to convert a C source file into an executable program file. These steps included preprocessing the source to remove comments, include other files as required, and string substitution. The resulting file was then compiled into assembly language. The assembly language output was then used to create an object file containing machine language, which was then linked with other standardized libraries to create an executable.

Full Story

Printed at http://lxer.com/module/newswire/view/110751/index.html