Next: , Previous: Compilation options, Up: Top


4 Using the preprocessor

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.1


Footnotes

[1] In recent versions of GCC the preprocessor is integrated into the compiler, although a separate cpp command is also provided.