?? g---and-gcc.html
字號:
<html lang="en"><head><title>Using the GNU Compiler Collection (GCC)</title><meta http-equiv="Content-Type" content="text/html"><meta name="description" content="Using the GNU Compiler Collection (GCC)"><meta name="generator" content="makeinfo 4.6"><!--Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. <p>Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.2 orany later version published by the Free Software Foundation; with theInvariant Sections being "GNU General Public License" and "FundingFree Software", the Front-Cover texts being (a) (see below), and withthe Back-Cover Texts being (b) (see below). A copy of the license isincluded in the section entitled "GNU Free Documentation License". <p>(a) The FSF's Front-Cover Text is: <p>A GNU Manual <p>(b) The FSF's Back-Cover Text is: <p>You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.--><meta http-equiv="Content-Style-Type" content="text/css"><style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller }--></style></head><body><h1 class="settitle">Using the GNU Compiler Collection (GCC)</h1><div class="node"><p>Node: <a name="G++%20and%20GCC">G++ and GCC</a>,Next: <a rel="next" accesskey="n" href="Standards.html#Standards">Standards</a>,Previous: <a rel="previous" accesskey="p" href="index.html#Top">Top</a>,Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a><hr><br></div><h2 class="chapter">Programming Languages Supported by GCC</h2><p>GCC stands for "GNU Compiler Collection". GCC is an integrateddistribution of compilers for several major programming languages. Theselanguages currently include C, C++, Objective-C, Java, Fortran, and Ada. <p>The abbreviation <dfn>GCC</dfn> has multiple meanings in common use. Thecurrent official meaning is "GNU Compiler Collection", which refersgenerically to the complete suite of tools. The name historically stoodfor "GNU C Compiler", and this usage is still common when the emphasisis on compiling C programs. Finally, the name is also used when speakingof the <dfn>language-independent</dfn> component of GCC: code shared among thecompilers for all supported languages. <p>The language-independent component of GCC includes the majority of theoptimizers, as well as the "back ends" that generate machine code forvarious processors. <p>The part of a compiler that is specific to a particular language iscalled the "front end". In addition to the front ends that areintegrated components of GCC, there are several other front ends thatare maintained separately. These support languages such as Pascal,Mercury, and COBOL. To use these, they must be built together withGCC proper. <p>Most of the compilers for languages other than C have their own names. The C++ compiler is G++, the Ada compiler is GNAT, and so on. When wetalk about compiling one of those languages, we might refer to thatcompiler by its own name, or as GCC. Either is correct. <p>Historically, compilers for many languages, including C++ and Fortran,have been implemented as "preprocessors" which emit another highlevel language such as C. None of the compilers included in GCC areimplemented this way; they all generate machine code directly. Thissort of preprocessor should not be confused with the <dfn>Cpreprocessor</dfn>, which is an integral feature of the C, C++, andObjective-C languages. </body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -