This is a mirror of official site: http://jasper-net.blogspot.com/

A Visual Guide of the C++ Compilation Process

| Wednesday, September 15, 2010
We seem to get a lot of threads asking about headers, definition and redefinition errors, including cpp files, etc... so it is time for diagrams (but first, some words)!

A typical C/C++ compiler consists of several pieces: the preprocessor, the parser, the lexer, the linker, code generator, code optimization, etc... but for the purpose of simplicity I'm going to refer to the whole "package" as "the compiler" unless otherwise noted or if I'm making a specific reference to a certain piece.

In a nutshell this is what the compiler does:

index.php?app=core&module=attach&section=attach&attach_rel_module=blogentry&attach_id=19873&s=5d672c26fcc1155c5b96657710fb60c6

Read more: </dream-in-code>

Posted via email from .NET Info

0 comments: