Chapter 18. Compiling with GCCThis chapter explains how to use GCC to compile executable programs from C source code. First we present the basic program control options, in the order of the corresponding steps in the compiling process. Then we look at how you can use GCC's warning options to troubleshoot your programs. Finally, we summarize the options for optimized compiling. This chapter should provide you with a basic working knowledge of GCC. If you later need information on special details, such as architecture-specific or system-specific options, this basic orientation will enable you to find what you need in the GCC manual . The manual is included in Texinfo format in the GCC distribution, and is also available in PostScript and HTML formats at http://gcc.gnu.org/onlinedocs/. |