Using the GNU Compiler Collection (GCC)
Using the GNU Compiler Collection
by Richard M. Stallman and the GCC Developer Community
For GCC Version 4.1.2
Published by:
GNU Press Website: www.gnupress.org
a division of the General: press@gnu.org
Free Software Foundation Orders: sales@gnu.org
51 Franklin Street, Fifth Floor Tel 617-542-5942
Boston, MA 02110-1301 USA Fax 617-542-2652
Last printed October 2003 for GCC 3.3.1.
Printed copies are available for $45 each.
Copyright
c
1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU Free Documentation License, Version 1.2 or any later version published by the
Free Software Foundation; with the Invariant Sections being “GNU General Public License”
and “Funding Free Software”, the Front-Cover texts being (a) (see below), and with the
Back-Cover Texts being (b) (see below). A copy of the license is included in the section
entitled “GNU Free Documentation License”.
(a) The FSF’s Front-Cover Text is:
A GNU Manual
(b) The FSF’s Back-Cover Text is:
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.
i
Short Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 Programming Languages Supported by GCC . . . . . . . . . . . . 3
2 Language Standards Supported by GCC . . . . . . . . . . . . . . . 5
3 GCC Command Options . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 C Implementation-defined behavior . . . . . . . . . . . . . . . . . 205
5 Extensions to the C Language Family . . . . . . . . . . . . . . . . 213
6 Extensions to the C++ Language . . . . . . . . . . . . . . . . . . 361
7 GNU Objective-C runtime features . . . . . . . . . . . . . . . . . . 371
8 Binary Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
9 gcov—a Test Coverage Program . . . . . . . . . . . . . . . . . . . 381
10 Known C auses of Trouble with GCC . . . . . . . . . . . . . . . . 389
11 Reporting Bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
12 How To Get Help with GCC . . . . . . . . . . . . . . . . . . . . . . 409
13 Contributing to GCC Development . . . . . . . . . . . . . . . . . 411
Funding Free Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
The GNU Project and GNU/Linux. . . . . . . . . . . . . . . . . . . . . 415
GNU GENERAL PUBLIC LICENSE . . . . . . . . . . . . . . . . . . . 417
GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . 423
Contributors to GCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Option Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Keyword Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
- 1
- 2
前往页