Useful Links
Computer Science
Other Tools and Technologies
GNU GCC Compiler
1. Introduction to the GNU Compiler Collection
2. Installation and Setup
3. Basic Usage and First Steps
4. The Compilation Pipeline
5. Command-Line Interface and Options
6. Optimization Techniques
7. Debugging and Analysis Support
8. Library Management and Linking
9. Target Architecture and Platform Support
10. Advanced GCC Features
11. GCC Internals and Architecture
12. GNU Toolchain Integration
The Compilation Pipeline
Overview of Compilation Stages
Four Main Stages
Data Flow Between Stages
Intermediate File Types
Stage Control Options
Preprocessing Stage
Preprocessor Invocation
Preprocessor Directives
Include Directives
Macro Definitions
Conditional Compilation
Pragma Directives
Macro Expansion Process
Comment and Whitespace Handling
Trigraph and Digraph Processing
Preprocessor Output Analysis
Compilation Stage
Compiler Invocation
Lexical Analysis
Tokenization Process
Token Types
Lexical Error Handling
Syntactic Analysis
Parsing Process
Grammar Rules
Parse Tree Construction
Syntax Error Handling
Semantic Analysis
Type Checking
Symbol Table Management
Scope Resolution
Semantic Error Detection
Intermediate Code Generation
Internal Representations
Code Optimization Preparation
Assembly Code Output
Assembly Stage
Assembler Invocation
Assembly Language Processing
Machine Code Generation
Object File Creation
Symbol Table Generation
Relocation Information
Linking Stage
Linker Invocation
Symbol Resolution
Address Assignment
Library Integration
Executable File Creation
Static vs Dynamic Linking Decisions
Previous
3. Basic Usage and First Steps
Go to top
Next
5. Command-Line Interface and Options