English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how many passes does compiler of VC++ take to build an application.What does compiler do in each pass,Can any please provide details or pointer for the same

2006-07-19 22:17:37 · 2 answers · asked by subbu 1 in Computers & Internet Programming & Design

2 answers

I don't think the compiler pass information for Microsoft compilers is public information. But typically the first two compiler passes are used for code generation and there may be other passes that are typically used for either size or speed optimization based on user settings.
A good compiler design book may give you more details.

2006-07-20 02:00:45 · answer #1 · answered by zero 2 · 0 0

The compiler can be broken down into two parts:

1) Pre-processor.
Handle all pre-processor statements. Any #include statements are processed and expanded here. There are other pre-processor commands.
The code is read through once.

2) Compiler.
All statements are processed.
The code is read through once.

2006-07-19 22:42:42 · answer #2 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers