1 \input texinfo @c -*-texinfo-*-
4 @c INTERNALS is used by md.texi to determine whether to include the
5 @c whole of that file, in the internals manual, or only the part
6 @c dealing with constraints, in the user manual.
9 @c NOTE: checks/things to do:
11 @c -have bob do a search in all seven files for "mew" (ideally --mew,
12 @c but i may have forgotten the occasional "--"..).
13 @c Just checked... all have `--'! Bob 22Jul96
14 @c Use this to search: grep -n '\-\-mew' *.texi
15 @c -item/itemx, text after all (sub/sub)section titles, etc..
16 @c -consider putting the lists of options on pp 17--> etc in columns or
18 @c -overfulls. do a search for "mew" in the files, and you will see
19 @c overfulls that i noted but could not deal with.
20 @c -have to add text: beginning of chapter 8
23 @c anything else? --mew 10feb93
25 @include gcc-common.texi
27 @settitle Using the GNU Compiler Collection (GCC)
29 @c Create a separate index for command line options.
31 @c Merge the standard indexes into a single one.
43 Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
44 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
46 Permission is granted to copy, distribute and/or modify this document
47 under the terms of the GNU Free Documentation License, Version 1.2 or
48 any later version published by the Free Software Foundation; with the
49 Invariant Sections being ``GNU General Public License'' and ``Funding
50 Free Software'', the Front-Cover texts being (a) (see below), and with
51 the Back-Cover Texts being (b) (see below). A copy of the license is
52 included in the section entitled ``GNU Free Documentation License''.
54 (a) The FSF's Front-Cover Text is:
58 (b) The FSF's Back-Cover Text is:
60 You have freedom to copy and modify this GNU Manual, like GNU
61 software. Copies published by the Free Software Foundation raise
62 funds for GNU development.
65 @dircategory Programming
67 * gcc: (gcc). The GNU Compiler Collection.
69 This file documents the use of the GNU compilers.
75 @setchapternewpage odd
76 @shorttitlepage Using the GNU Compiler Collection (GCC)
78 @center @titlefont{Using the GNU Compiler Collection}
80 @center by Richard M. Stallman and the GCC Developer Community
82 @center Last updated 23 May 2004
85 @center for GCC @value{version-GCC}
87 @vskip 0pt plus 1filll
88 For GCC Version @value{version-GCC}@*
91 @multitable @columnfractions 0.5 0.5
93 @tab Website: www.gnupress.org
94 @item a division of the
95 @tab General: @tex press@@gnu.org @end tex
96 @item Free Software Foundation
97 @tab Orders: @tex sales@@gnu.org @end tex
98 @item 59 Temple Place Suite 330
100 @item Boston, MA 02111-1307 USA
101 @tab Fax 617-542-2652
105 @c Update this ISBN when printing a new edition.
106 @acronym{ISBN} 1-882114-39-6
108 Cover art by Gary M. Torrisi. Cover design by Jonathan Richard.
111 Last printed October 2003 for GCC 3.3.1.@*
112 Printed copies are available for $45 each.
121 @node Top, G++ and GCC,, (DIR)
125 This manual documents how to use the GNU compilers,
126 as well as their features and incompatibilities, and how to report
127 bugs. It corresponds to GCC version @value{version-GCC}.
128 The internals of the GNU compilers, including how to port them to new
129 targets and some information about how to write front ends for new
130 languages, are documented in a separate manual. @xref{Top,,
131 Introduction, gccint, GNU Compiler Collection (GCC) Internals}.
134 * G++ and GCC:: You can compile C or C++ programs.
135 * Standards:: Language standards supported by GCC.
136 * Invoking GCC:: Command options supported by @samp{gcc}.
137 * C Implementation:: How GCC implements the ISO C specification.
138 * C Extensions:: GNU extensions to the C language family.
139 * C++ Extensions:: GNU extensions to the C++ language.
140 * Objective-C:: GNU Objective-C runtime features.
141 * Compatibility:: Binary Compatibility
142 * Gcov:: @command{gcov}---a test coverage program.
143 * Trouble:: If you have trouble using GCC.
144 * Bugs:: How, why and where to report bugs.
145 * Service:: How to find suppliers of support for GCC.
146 * Contributing:: How to contribute to testing and developing GCC.
148 * Funding:: How to help assure funding for free software.
149 * GNU Project:: The GNU Project and GNU/Linux.
151 * Copying:: GNU General Public License says
152 how you can copy and share GCC.
153 * GNU Free Documentation License:: How you can copy and share this manual.
154 * Contributors:: People who have contributed to GCC.
156 * Option Index:: Index to command line options.
157 * Keyword Index:: Index of concepts and symbol names.
160 @include frontends.texi
161 @include standards.texi
167 @include trouble.texi
168 @include bugreport.texi
169 @include service.texi
170 @include contribute.texi
172 @include funding.texi
176 @c ---------------------------------------------------------------------
178 @c ---------------------------------------------------------------------
182 @include contrib.texi
184 @c ---------------------------------------------------------------------
186 @c ---------------------------------------------------------------------
189 @unnumbered Option Index
191 GCC's command line options are indexed here without any initial @samp{-}
192 or @samp{--}. Where an option has both positive and negative forms
193 (such as @option{-f@var{option}} and @option{-fno-@var{option}}),
194 relevant entries in the manual are indexed under the most appropriate
195 form; it may sometimes be useful to look up both forms.
200 @unnumbered Keyword Index
204 @c ---------------------------------------------------------------------
206 @c ---------------------------------------------------------------------