Table of Contents1. Introduction..................................................................................................................................... 12. Programming Languages Supported by GCC ............................................................................. 33. Language Standards Supported by GCC ..................................................................................... 54. GCC Command Options ................................................................................................................ 74.1. Option Summary................................................................................................................ 74.2. Options Controlling the Kind of Output .......................................................................... 164.3. Compiling C++ Programs................................................................................................ 194.4. Options Controlling C Dialect ......................................................................................... 194.5. Options Controlling C++ Dialect..................................................................................... 234.6. Options Controlling Objective-C Dialect ........................................................................ 294.7. Options to Control Diagnostic Messages Formatting ...................................................... 324.8. Options to Request or Suppress Warnings....................................................................... 324.9. Options for Debugging Your Program or GCC ............................................................... 454.10. Options That Control Optimization ............................................................................... 534.11. Options Controlling the Preprocessor............................................................................ 724.12. Passing Options to the Assembler.................................................................................. 814.13. Options for Linking........................................................................................................ 814.14. Options for Directory Search ......................................................................................... 834.15. Specifying subprocesses and the switches to pass to them............................................ 854.16. Specifying Target Machine and Compiler Version ........................................................ 924.17. Hardware Models and Configurations ........................................................................... 924.17.1. IBM RS/6000 and PowerPC Options ............................................................. 934.17.2. Darwin Options............................................................................................. 1014.17.3. Intel 386 and AMD x86-64 Options ............................................................. 1024.17.4. IA-64 Options ............................................................................................... 1094.17.5. S/390 and zSeries Options ............................................................................ 1104.18. Options for Code Generation Conventions .................................................................. 1124.19. Environment Variables Affecting GCC ....................................................................... 1184.20. Using Precompiled Headers......................................................................................... 1204.21. Running Protoize ......................................................................................................... 1215. C Implementation-defined behavior ......................................................................................... 1255.1. Translation ..................................................................................................................... 1255.2. Environment................................................................................................................... 1255.3. Identifiers ....................................................................................................................... 1255.4. Characters ...................................................................................................................... 1255.5. Integers........................................................................................................................... 1265.6. Floating point ................................................................................................................. 1265.7. Arrays and pointers ........................................................................................................ 1275.8. Hints............................................................................................................................... 1275.9. Structures, unions, enumerations, and bit-fields ............................................................ 1275.10. Qualifiers...................................................................................................................... 1285.11. Preprocessing directives............................................................................................... 1285.12. Library functions.......................................................................................................... 1285.13. Architecture.................................................................................................................. 1285.14. Locale-specific behavior .............................................................................................. 129