xref: /dflybsd-src/contrib/gcc-4.7/gcc/doc/gcc.texi (revision 04febcfb30580676d3e95f58a16c5137ee478b32)
1*e4b17023SJohn Marino\input texinfo  @c -*-texinfo-*-
2*e4b17023SJohn Marino@c %**start of header
3*e4b17023SJohn Marino@setfilename gcc.info
4*e4b17023SJohn Marino@c INTERNALS is used by md.texi to determine whether to include the
5*e4b17023SJohn Marino@c whole of that file, in the internals manual, or only the part
6*e4b17023SJohn Marino@c dealing with constraints, in the user manual.
7*e4b17023SJohn Marino@clear INTERNALS
8*e4b17023SJohn Marino
9*e4b17023SJohn Marino@c NOTE: checks/things to do:
10*e4b17023SJohn Marino@c
11*e4b17023SJohn Marino@c -have bob do a search in all seven files for "mew" (ideally --mew,
12*e4b17023SJohn Marino@c  but i may have forgotten the occasional "--"..).
13*e4b17023SJohn Marino@c     Just checked... all have `--'!  Bob 22Jul96
14*e4b17023SJohn Marino@c     Use this to search:   grep -n '\-\-mew' *.texi
15*e4b17023SJohn Marino@c -item/itemx, text after all (sub/sub)section titles, etc..
16*e4b17023SJohn Marino@c -consider putting the lists of options on pp 17--> etc in columns or
17*e4b17023SJohn Marino@c  some such.
18*e4b17023SJohn Marino@c -overfulls.  do a search for "mew" in the files, and you will see
19*e4b17023SJohn Marino@c   overfulls that i noted but could not deal with.
20*e4b17023SJohn Marino@c -have to add text:  beginning of chapter 8
21*e4b17023SJohn Marino
22*e4b17023SJohn Marino@c
23*e4b17023SJohn Marino@c anything else?                       --mew 10feb93
24*e4b17023SJohn Marino
25*e4b17023SJohn Marino@include gcc-common.texi
26*e4b17023SJohn Marino
27*e4b17023SJohn Marino@settitle Using the GNU Compiler Collection (GCC)
28*e4b17023SJohn Marino
29*e4b17023SJohn Marino@c Create a separate index for command line options.
30*e4b17023SJohn Marino@defcodeindex op
31*e4b17023SJohn Marino@c Merge the standard indexes into a single one.
32*e4b17023SJohn Marino@syncodeindex fn cp
33*e4b17023SJohn Marino@syncodeindex vr cp
34*e4b17023SJohn Marino@syncodeindex ky cp
35*e4b17023SJohn Marino@syncodeindex pg cp
36*e4b17023SJohn Marino@syncodeindex tp cp
37*e4b17023SJohn Marino
38*e4b17023SJohn Marino@paragraphindent 1
39*e4b17023SJohn Marino
40*e4b17023SJohn Marino@c %**end of header
41*e4b17023SJohn Marino
42*e4b17023SJohn Marino@copying
43*e4b17023SJohn MarinoCopyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
44*e4b17023SJohn Marino1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
45*e4b17023SJohn Marino2010 Free Software Foundation, Inc.
46*e4b17023SJohn Marino
47*e4b17023SJohn MarinoPermission is granted to copy, distribute and/or modify this document
48*e4b17023SJohn Marinounder the terms of the GNU Free Documentation License, Version 1.3 or
49*e4b17023SJohn Marinoany later version published by the Free Software Foundation; with the
50*e4b17023SJohn MarinoInvariant Sections being ``Funding Free Software'', the Front-Cover
51*e4b17023SJohn MarinoTexts being (a) (see below), and with the Back-Cover Texts being (b)
52*e4b17023SJohn Marino(see below).  A copy of the license is included in the section entitled
53*e4b17023SJohn Marino``GNU Free Documentation License''.
54*e4b17023SJohn Marino
55*e4b17023SJohn Marino(a) The FSF's Front-Cover Text is:
56*e4b17023SJohn Marino
57*e4b17023SJohn Marino     A GNU Manual
58*e4b17023SJohn Marino
59*e4b17023SJohn Marino(b) The FSF's Back-Cover Text is:
60*e4b17023SJohn Marino
61*e4b17023SJohn Marino     You have freedom to copy and modify this GNU Manual, like GNU
62*e4b17023SJohn Marino     software.  Copies published by the Free Software Foundation raise
63*e4b17023SJohn Marino     funds for GNU development.
64*e4b17023SJohn Marino@end copying
65*e4b17023SJohn Marino@ifnottex
66*e4b17023SJohn Marino@dircategory Software development
67*e4b17023SJohn Marino@direntry
68*e4b17023SJohn Marino* gcc: (gcc).                  The GNU Compiler Collection.
69*e4b17023SJohn Marino* g++: (gcc).                  The GNU C++ compiler.
70*e4b17023SJohn Marino@end direntry
71*e4b17023SJohn MarinoThis file documents the use of the GNU compilers.
72*e4b17023SJohn Marino@sp 1
73*e4b17023SJohn Marino@insertcopying
74*e4b17023SJohn Marino@sp 1
75*e4b17023SJohn Marino@end ifnottex
76*e4b17023SJohn Marino
77*e4b17023SJohn Marino@setchapternewpage odd
78*e4b17023SJohn Marino@titlepage
79*e4b17023SJohn Marino@title Using the GNU Compiler Collection
80*e4b17023SJohn Marino@versionsubtitle
81*e4b17023SJohn Marino@author Richard M. Stallman and the @sc{GCC} Developer Community
82*e4b17023SJohn Marino@page
83*e4b17023SJohn Marino@vskip 0pt plus 1filll
84*e4b17023SJohn MarinoPublished by:
85*e4b17023SJohn Marino@multitable @columnfractions 0.5 0.5
86*e4b17023SJohn Marino@item GNU Press
87*e4b17023SJohn Marino@tab Website: www.gnupress.org
88*e4b17023SJohn Marino@item a division of the
89*e4b17023SJohn Marino@tab General: @tex press@@gnu.org @end tex
90*e4b17023SJohn Marino@item Free Software Foundation
91*e4b17023SJohn Marino@tab Orders:  @tex sales@@gnu.org @end tex
92*e4b17023SJohn Marino@item 51 Franklin Street, Fifth Floor
93*e4b17023SJohn Marino@tab Tel 617-542-5942
94*e4b17023SJohn Marino@item Boston, MA 02110-1301 USA
95*e4b17023SJohn Marino@tab Fax 617-542-2652
96*e4b17023SJohn Marino@end multitable
97*e4b17023SJohn Marino@sp 2
98*e4b17023SJohn Marino@ifset FSFPRINT
99*e4b17023SJohn Marino@c Update this ISBN when printing a new edition.
100*e4b17023SJohn Marino@acronym{ISBN} 1-882114-39-6
101*e4b17023SJohn Marino
102*e4b17023SJohn MarinoCover art by Gary M. Torrisi.  Cover design by Jonathan Richard.
103*e4b17023SJohn Marino@end ifset
104*e4b17023SJohn Marino@ifclear FSFPRINT
105*e4b17023SJohn MarinoLast printed October 2003 for GCC 3.3.1.@*
106*e4b17023SJohn MarinoPrinted copies are available for $45 each.
107*e4b17023SJohn Marino@end ifclear
108*e4b17023SJohn Marino@sp 1
109*e4b17023SJohn Marino@insertcopying
110*e4b17023SJohn Marino@end titlepage
111*e4b17023SJohn Marino@summarycontents
112*e4b17023SJohn Marino@contents
113*e4b17023SJohn Marino@page
114*e4b17023SJohn Marino
115*e4b17023SJohn Marino@node Top, G++ and GCC,, (DIR)
116*e4b17023SJohn Marino@top Introduction
117*e4b17023SJohn Marino@cindex introduction
118*e4b17023SJohn Marino
119*e4b17023SJohn MarinoThis manual documents how to use the GNU compilers,
120*e4b17023SJohn Marinoas well as their features and incompatibilities, and how to report
121*e4b17023SJohn Marinobugs.  It corresponds to the compilers
122*e4b17023SJohn Marino@ifset VERSION_PACKAGE
123*e4b17023SJohn Marino@value{VERSION_PACKAGE}
124*e4b17023SJohn Marino@end ifset
125*e4b17023SJohn Marinoversion @value{version-GCC}.
126*e4b17023SJohn MarinoThe internals of the GNU compilers, including how to port them to new
127*e4b17023SJohn Marinotargets and some information about how to write front ends for new
128*e4b17023SJohn Marinolanguages, are documented in a separate manual.  @xref{Top,,
129*e4b17023SJohn MarinoIntroduction, gccint, GNU Compiler Collection (GCC) Internals}.
130*e4b17023SJohn Marino
131*e4b17023SJohn Marino@menu
132*e4b17023SJohn Marino* G++ and GCC::     You can compile C or C++ programs.
133*e4b17023SJohn Marino* Standards::       Language standards supported by GCC.
134*e4b17023SJohn Marino* Invoking GCC::    Command options supported by @samp{gcc}.
135*e4b17023SJohn Marino* C Implementation:: How GCC implements the ISO C specification.
136*e4b17023SJohn Marino* C Extensions::    GNU extensions to the C language family.
137*e4b17023SJohn Marino* C++ Implementation:: How GCC implements the ISO C++ specification.
138*e4b17023SJohn Marino* C++ Extensions::  GNU extensions to the C++ language.
139*e4b17023SJohn Marino* Objective-C::     GNU Objective-C runtime features.
140*e4b17023SJohn Marino* Compatibility::   Binary Compatibility
141*e4b17023SJohn Marino* Gcov::            @command{gcov}---a test coverage program.
142*e4b17023SJohn Marino* Trouble::         If you have trouble using GCC.
143*e4b17023SJohn Marino* Bugs::            How, why and where to report bugs.
144*e4b17023SJohn Marino* Service::         How to find suppliers of support for GCC.
145*e4b17023SJohn Marino* Contributing::    How to contribute to testing and developing GCC.
146*e4b17023SJohn Marino
147*e4b17023SJohn Marino* Funding::         How to help assure funding for free software.
148*e4b17023SJohn Marino* GNU Project::     The GNU Project and GNU/Linux.
149*e4b17023SJohn Marino
150*e4b17023SJohn Marino* Copying::         GNU General Public License says
151*e4b17023SJohn Marino                    how you can copy and share GCC.
152*e4b17023SJohn Marino* GNU Free Documentation License:: How you can copy and share this manual.
153*e4b17023SJohn Marino* Contributors::    People who have contributed to GCC.
154*e4b17023SJohn Marino
155*e4b17023SJohn Marino* Option Index::    Index to command line options.
156*e4b17023SJohn Marino* Keyword Index::   Index of concepts and symbol names.
157*e4b17023SJohn Marino@end menu
158*e4b17023SJohn Marino
159*e4b17023SJohn Marino@include frontends.texi
160*e4b17023SJohn Marino@include standards.texi
161*e4b17023SJohn Marino@include invoke.texi
162*e4b17023SJohn Marino@include implement-c.texi
163*e4b17023SJohn Marino@include implement-cxx.texi
164*e4b17023SJohn Marino@include extend.texi
165*e4b17023SJohn Marino@include objc.texi
166*e4b17023SJohn Marino@include compat.texi
167*e4b17023SJohn Marino@include gcov.texi
168*e4b17023SJohn Marino@include trouble.texi
169*e4b17023SJohn Marino@include bugreport.texi
170*e4b17023SJohn Marino@include service.texi
171*e4b17023SJohn Marino@include contribute.texi
172*e4b17023SJohn Marino
173*e4b17023SJohn Marino@include funding.texi
174*e4b17023SJohn Marino@include gnu.texi
175*e4b17023SJohn Marino@include gpl_v3.texi
176*e4b17023SJohn Marino
177*e4b17023SJohn Marino@c ---------------------------------------------------------------------
178*e4b17023SJohn Marino@c GFDL
179*e4b17023SJohn Marino@c ---------------------------------------------------------------------
180*e4b17023SJohn Marino
181*e4b17023SJohn Marino@include fdl.texi
182*e4b17023SJohn Marino
183*e4b17023SJohn Marino@include contrib.texi
184*e4b17023SJohn Marino
185*e4b17023SJohn Marino@c ---------------------------------------------------------------------
186*e4b17023SJohn Marino@c Indexes
187*e4b17023SJohn Marino@c ---------------------------------------------------------------------
188*e4b17023SJohn Marino
189*e4b17023SJohn Marino@node Option Index
190*e4b17023SJohn Marino@unnumbered Option Index
191*e4b17023SJohn Marino
192*e4b17023SJohn MarinoGCC's command line options are indexed here without any initial @samp{-}
193*e4b17023SJohn Marinoor @samp{--}.  Where an option has both positive and negative forms
194*e4b17023SJohn Marino(such as @option{-f@var{option}} and @option{-fno-@var{option}}),
195*e4b17023SJohn Marinorelevant entries in the manual are indexed under the most appropriate
196*e4b17023SJohn Marinoform; it may sometimes be useful to look up both forms.
197*e4b17023SJohn Marino
198*e4b17023SJohn Marino@printindex op
199*e4b17023SJohn Marino
200*e4b17023SJohn Marino@node Keyword Index
201*e4b17023SJohn Marino@unnumbered Keyword Index
202*e4b17023SJohn Marino
203*e4b17023SJohn Marino@printindex cp
204*e4b17023SJohn Marino
205*e4b17023SJohn Marino@c ---------------------------------------------------------------------
206*e4b17023SJohn Marino@c Epilogue
207*e4b17023SJohn Marino@c ---------------------------------------------------------------------
208*e4b17023SJohn Marino
209*e4b17023SJohn Marino@bye
210