[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1. Compile C, C++, Objective C, or Fortran | You can compile C or C++ programs. | |
2. GCC Command Options | Command options supported by `gcc'. | |
3. Installing GNU CC | How to configure, compile and install GCC. | |
4. Extensions to the C Language Family | GNU extensions to the C language family. | |
5. Extensions to the C++ Language | GNU extensions to the C++ language. | |
6. gcov : a Test Coverage Program | gcov: a GCC test coverage program. | |
7. Known Causes of Trouble with GCC | If you have trouble installing GCC. | |
8. Reporting Bugs | How, why and where to report bugs. | |
9. How To Get Help with GCC | How to find suppliers of support for GCC. | |
10. Contributing to GCC Development | How to contribute to testing and developing GCC. | |
11. Using GCC on VMS | ||
Funding Free Software | How to help assure funding for free software. | |
Linux and the GNU Project | ||
GNU GENERAL PUBLIC LICENSE | GNU General Public License says how you can copy and share GCC. | |
Contributors to GCC | People who have contributed to GCC. | |
Index | Index of concepts and symbol names. |
The C, C++, and Objective C, and Fortran versions of the compiler are integrated; this is why we use the name "GNU Compiler Collection". GCC can compile programs written in C, C++, Objective C, or Fortran. The Fortran compiler is described in a separate manual.
"GCC" is a common shorthand term for the GNU Compiler Collection. This is both the most general name for the compiler, and the name used when the emphasis is on compiling C programs (as the abbreviation formerly stood for "GNU C Compiler").
When referring to C++ compilation, it is usual to call the compiler "G++". Since there is only one compiler, it is also accurate to call it "GCC" no matter what the language context; however, the term "G++" is more useful when the emphasis is on compiling C++ programs.
We use the name "GCC" to refer to the compilation system as a whole, and more specifically to the language-independent part of the compiler. For example, we refer to the optimization options as affecting the behavior of "GCC" or sometimes just "the compiler".
Front ends for other languages, such as Ada 9X, Fortran, Modula-3, and Pascal, are under development. These front-ends, like that for C++, are built in subdirectories of GCC and link to it. The result is an integrated compiler that can compile programs written in C, C++, Objective C, or any of the languages for which you have installed front ends.
In this manual, we only discuss the options for the C, Objective-C, and C++ compilers and those of the GCC core. Consult the documentation of the other front ends for the options to use when compiling programs written in other languages.
G++ is a compiler, not merely a preprocessor. G++ builds object code directly from your C++ program source. There is no intermediate C version of the program. (By contrast, for example, some other implementations use a program that generates a C program from your C++ source.) Avoiding an intermediate C representation of the program means that you get better object code, and better debugging information. The GNU debugger, GDB, works with this information in the object code to give you comprehensive C++ source-level editing capabilities (see (gdb.info)C section `C and C++' in Debugging with GDB).
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Build Daemon user on October, 25 2005 using texi2html 1.76.