Noeud:The GNU Compiler Collection, Noeud « Next »:, Noeud « Previous »:libstdc++ and the Standard Template Library, Noeud « Up »:Top



The GNU Compiler Collection

This chapter introduces the most useful and frequently used options for source file compilation using GCC - the GNU Compiler Collection. Using GCC you can compile C, Objective C, C++, Java and Fortran source files. We'll also look at the internal workings of gcc works at a relatively low-level such that you will be able to understand the entire compilation process with ease. An Introduction to GCC introduces GCC at a very high level; if you're a bit puzzled about how the compilation process slots together, or unsure of how GCC can handle many different languages, this is the place to start. We'll then look at many of the basic commands available to us for compilation of C source files in GCC Commands. Emphasis will also be placed on what actually happens during compilation, GCC Internals, and we'll look closely at the different steps and processes involved with using gcc. Compiling Objective C, C++, Java and Fortran source files is dealt with in Integrated Languages. We'll then look at using some of the compilation options with the M4 sources, providing a more pragmatic guide to the compilation steps we've already seen, in Pulling it Together. A list of books and links is provided in Further Reading. Finally, GCC Summary rounds off everything we've dealt with, and mentions some of the tools that make management of compilation less stressful.

This chapter is not a definitive reference; it is only an introduction to well-used commands, and if you are already familiar with gcc, you will want to skip this section and read GNU Make.