GCC Chinese Manual introduces the usage of GCC compiler, including compilation options, preprocessing options, language options, and linking options.
This manual provides a Chinese reference for the GNU GCC (GNU Compiler Collection) covering the full compilation flow: preprocessing, compilation, assembly, and linking. It includes descriptions of command‑line options, language standards, and debugging features.
The document is organized into sections such as NAME, WARNING, DESCRIPTION, OPTIONS, LANGUAGE OPTIONS, PREPROCESSOR OPTIONS, ASSEMBLER OPTIONS, LINKER OPTIONS, DEBUGGING OPTIONS, CODE GENERATION OPTIONS, PRAGMAS, SEE ALSO, BUGS, COPYRIGHT, and AUTHORS, each detailing the corresponding compiler behavior and usage examples. This manual is written in Chinese.
| Version | egcs-1.1.2 |
|---|---|
| Last updated | 2003/12/05 |
| First edition date | 2003/05/13 |
The -o option specifies the name of the output file for the compilation result.
Use the -g option to include debugging symbols in the generated object files.
The -E option runs only the preprocessor and outputs the preprocessed source.