Noeud:GCC Commands, Noeud « Next »:, Noeud « Previous »:An Introduction to GCC, Noeud « Up »:The GNU Compiler Collection



GCC Commands

This section looks at the practical use of gcc, as well as some of the more esoteric aspects of it's use. We'll first look at the different commands available with gcc, and will place emphasis on each of the different stages of compilation (GCC Commands). The internals of gcc are then covered (GCC Internals), and a discussion of the inner workings explains what happens when gcc is invoked. The different languages that are supported by gcc are also covered, and simple compilations are explained along with more commonly used options for each language (Integrated Languages).

gcc supports a plethora of command options; the man and info pages contain a full listing1, and on-line documentation can be viewed at <http://gcc.gnu.org/onlinedocs>. Here, attention is drawn to the more useful and commonly used gcc commands, and compilation of C source files is assumed. Other languages are dealt with in Integrated Languages. More obtuse commands (for example platform options, code generation options etc.) are not dealt with here. You can find a summary of all the commands we'll look at in Reference Section.


Notes de bas de page

  1. Type man gcc or info gcc for more information.