Noeud:Integrated Languages, Noeud « Next »:Pulling it Together, Noeud « Previous »:GCC Internals, Noeud « Up »:The GNU Compiler Collection
So far the emphasis has been on the language C. Other languages, namely
C++, Fortran, Objective-C and Java are also integrated into
gcc
. Our purpose here is to explain how to compile C++,
Objective C, Fortran and Java source files (along with other notes
regarding these languages). We'll also look at the various other
front-ends supported by gcc
in Other GCC Frontends.
For each of the languages discussed below, there is a frequently used options section and an example compilation section (showing the output of the compilation of a trivial source file in the old-time favourite example Hello, world! program).