Next: Compiling for debugging, Previous: Compilation options, Up: Top [Contents][Index]
This chapter describes the use of the GNU C preprocessor cpp
,
which is part of the GCC package. The preprocessor expands macros in
source files before they are compiled. It is automatically called
whenever GCC processes a C or C++ program.13
• Defining macros | ||
• Macros with values | ||
• Preprocessing source files |
In recent versions
of GCC the preprocessor is integrated into the compiler, although a
separate cpp
command is also provided.