도전2022
gcc-4.1.2 문서 본문
This file documents the use of the GNU compilers. Copyright © 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.
Short Contents
- Introduction
- 1 Programming Languages Supported by GCC
- 2 Language Standards Supported by GCC
- 3 GCC Command Options
- 4 C Implementation-defined behavior
- 5 Extensions to the C Language Family
- 6 Extensions to the C++ Language
- 7 GNU Objective-C runtime features
- 8 Binary Compatibility
- 9 gcov—a Test Coverage Program
- 10 Known Causes of Trouble with GCC
- 11 Reporting Bugs
- 12 How To Get Help with GCC
- 13 Contributing to GCC Development
- Funding Free Software
- The GNU Project and GNU/Linux
- GNU GENERAL PUBLIC LICENSE
- GNU Free Documentation License
- Contributors to GCC
- Option Index
- Keyword Index
Table of Contents
- Introduction
- 1 Programming Languages Supported by GCC
- 2 Language Standards Supported by GCC
- 3 GCC Command Options
- 3.1 Option Summary
- 3.2 Options Controlling the Kind of Output
- 3.3 Compiling C++ Programs
- 3.4 Options Controlling C Dialect
- 3.5 Options Controlling C++ Dialect
- 3.6 Options Controlling Objective-C and Objective-C++ Dialects
- 3.7 Options to Control Diagnostic Messages Formatting
- 3.8 Options to Request or Suppress Warnings
- 3.9 Options for Debugging Your Program or GCC
- 3.10 Options That Control Optimization
- 3.11 Options Controlling the Preprocessor
- 3.12 Passing Options to the Assembler
- 3.13 Options for Linking
- 3.14 Options for Directory Search
- 3.15 Specifying subprocesses and the switches to pass to them
- 3.16 Specifying Target Machine and Compiler Version
- 3.17 Hardware Models and Configurations
- 3.17.1 ARC Options
- 3.17.2 ARM Options
- 3.17.3 AVR Options
- 3.17.4 Blackfin Options
- 3.17.5 CRIS Options
- 3.17.6 CRX Options
- 3.17.7 Darwin Options
- 3.17.8 DEC Alpha Options
- 3.17.9 DEC Alpha/VMS Options
- 3.17.10 FRV Options
- 3.17.11 H8/300 Options
- 3.17.12 HPPA Options
- 3.17.13 Intel 386 and AMD x86-64 Options
- 3.17.14 IA-64 Options
- 3.17.15 M32C Options
- 3.17.16 M32R/D Options
- 3.17.17 M680x0 Options
- 3.17.18 M68hc1x Options
- 3.17.19 MCore Options
- 3.17.20 MIPS Options
- 3.17.21 MMIX Options
- 3.17.22 MN10300 Options
- 3.17.23 MT Options
- 3.17.24 PDP-11 Options
- 3.17.25 PowerPC Options
- 3.17.26 IBM RS/6000 and PowerPC Options
- 3.17.27 S/390 and zSeries Options
- 3.17.28 SH Options
- 3.17.29 SPARC Options
- 3.17.30 Options for System V
- 3.17.31 TMS320C3x/C4x Options
- 3.17.32 V850 Options
- 3.17.33 VAX Options
- 3.17.34 x86-64 Options
- 3.17.35 Xstormy16 Options
- 3.17.36 Xtensa Options
- 3.17.37 zSeries Options
- 3.18 Options for Code Generation Conventions
- 3.19 Environment Variables Affecting GCC
- 3.20 Using Precompiled Headers
- 3.21 Running Protoize
- 4 C Implementation-defined behavior
- 4.1 Translation
- 4.2 Environment
- 4.3 Identifiers
- 4.4 Characters
- 4.5 Integers
- 4.6 Floating point
- 4.7 Arrays and pointers
- 4.8 Hints
- 4.9 Structures, unions, enumerations, and bit-fields
- 4.10 Qualifiers
- 4.11 Declarators
- 4.12 Statements
- 4.13 Preprocessing directives
- 4.14 Library functions
- 4.15 Architecture
- 4.16 Locale-specific behavior
- 5 Extensions to the C Language Family
- 5.1 Statements and Declarations in Expressions
- 5.2 Locally Declared Labels
- 5.3 Labels as Values
- 5.4 Nested Functions
- 5.5 Constructing Function Calls
- 5.6 Referring to a Type with
typeof
- 5.7 Conditionals with Omitted Operands
- 5.8 Double-Word Integers
- 5.9 Complex Numbers
- 5.10 Hex Floats
- 5.11 Arrays of Length Zero
- 5.12 Structures With No Members
- 5.13 Arrays of Variable Length
- 5.14 Macros with a Variable Number of Arguments.
- 5.15 Slightly Looser Rules for Escaped Newlines
- 5.16 Non-Lvalue Arrays May Have Subscripts
- 5.17 Arithmetic on
void
- and Function-Pointers - 5.18 Non-Constant Initializers
- 5.19 Compound Literals
- 5.20 Designated Initializers
- 5.21 Case Ranges
- 5.22 Cast to a Union Type
- 5.23 Mixed Declarations and Code
- 5.24 Declaring Attributes of Functions
- 5.25 Attribute Syntax
- 5.26 Prototypes and Old-Style Function Definitions
- 5.27 C++ Style Comments
- 5.28 Dollar Signs in Identifier Names
- 5.29 The Character <ESC> in Constants
- 5.30 Inquiring on Alignment of Types or Variables
- 5.31 Specifying Attributes of Variables
- 5.32 Specifying Attributes of Types
- 5.33 An Inline Function is As Fast As a Macro
- 5.34 Assembler Instructions with C Expression Operands
- 5.35 Constraints for
asm
Operands - 5.36 Controlling Names Used in Assembler Code
- 5.37 Variables in Specified Registers
- 5.38 Alternate Keywords
- 5.39 Incomplete
enum
Types - 5.40 Function Names as Strings
- 5.41 Getting the Return or Frame Address of a Function
- 5.42 Using vector instructions through built-in functions
- 5.43 Offsetof
- 5.44 Built-in functions for atomic memory access
- 5.45 Object Size Checking Builtins
- 5.46 Other built-in functions provided by GCC
- 5.47 Built-in Functions Specific to Particular Target Machines
- 5.47.1 Alpha Built-in Functions
- 5.47.2 ARM Built-in Functions
- 5.47.3 Blackfin Built-in Functions
- 5.47.4 FR-V Built-in Functions
- 5.47.5 X86 Built-in Functions
- 5.47.6 MIPS DSP Built-in Functions
- 5.47.7 MIPS Paired-Single Support
- 5.47.8 PowerPC AltiVec Built-in Functions
- 5.47.9 SPARC VIS Built-in Functions
- 5.48 Format Checks Specific to Particular Target Machines
- 5.49 Pragmas Accepted by GCC
- 5.50 Unnamed struct/union fields within structs/unions
- 5.51 Thread-Local Storage
- 6 Extensions to the C++ Language
- 6.1 When is a Volatile Object Accessed?
- 6.2 Restricting Pointer Aliasing
- 6.3 Vague Linkage
- 6.4 #pragma interface and implementation
- 6.5 Where's the Template?
- 6.6 Extracting the function pointer from a bound pointer to member function
- 6.7 C++-Specific Variable, Function, and Type Attributes
- 6.8 Strong Using
- 6.9 Java Exceptions
- 6.10 Deprecated Features
- 6.11 Backwards Compatibility
- 7 GNU Objective-C runtime features
- 8 Binary Compatibility
- 9 gcov—a Test Coverage Program
- 10 Known Causes of Trouble with GCC
- 10.1 Actual Bugs We Haven't Fixed Yet
- 10.2 Cross-Compiler Problems
- 10.3 Interoperation
- 10.4 Incompatibilities of GCC
- 10.5 Fixed Header Files
- 10.6 Standard Libraries
- 10.7 Disappointments and Misunderstandings
- 10.8 Common Misunderstandings with GNU C++
- 10.9 Caveats of using protoize
- 10.10 Certain Changes We Don't Want to Make
- 10.11 Warning Messages and Error Messages
- 11 Reporting Bugs
- 12 How To Get Help with GCC
- 13 Contributing to GCC Development
- Funding Free Software
- The GNU Project and GNU/Linux
- GNU GENERAL PUBLIC LICENSE
- GNU Free Documentation License
- Contributors to GCC
- Option Index
- Keyword Index
Next: G++ and GCC, Up: (DIR)
Introduction
This manual documents how to use the GNU compilers, as well as their features and incompatibilities, and how to report bugs. It corresponds to GCC version 4.1.2. The internals of the GNU compilers, including how to port them to new targets and some information about how to write front ends for new languages, are documented in a separate manual. See Introduction.
'책 > Linux' 카테고리의 다른 글
문자열 관련 (0) | 2010.05.27 |
---|---|
/glibc-2.11.1/elf/dl-load.c (0) | 2010.04.13 |