#define, preprocessor directive: Defining macros#elif, preprocessor directive: Preprocessor error messages#else, preprocessor directive: Preprocessor error messages#if, preprocessor directive: Warning options in -Wall#ifdef, preprocessor directive: Defining macros#include, preprocessor directive: Compiling multiple source files#warning, preprocessor directive: Preprocessor error messages$, shell prompt: Conventions used in this manualg++: Compiling a simple C++ program.a, archive file extension: Linking with external libraries.c, C source file extension: Compiling a simple C program.cc, C++ file extension: Compiling a simple C++ program.cpp, C++ file extension: Compiling a simple C++ program.cxx, C++ file extension: Compiling a simple C++ program.h, header file extension: Compiling multiple source files.i, preprocessed file extension for C: The preprocessor.ii, preprocessed file extension for C++: The preprocessor.o, object file extension: Compiling files independently.s, assembly file extension: The compiler.so, shared object file extension: Shared libraries and static libraries__gxx_personality_v0, undefined reference error: Compiling a simple C++ program_FORTIFY_SOURCE macro: Buffer overflow protection_GNU_SOURCE macro, enables extensions to GNU C Library: ANSI/ISOa, archive file extension: Linking with external librariesa.out, default executable filename: Compiling a simple C programgnat compiler: A brief history of GCCg++: Compiling a simple C++ programar, GNU archiver: Creating a library with the GNU archiverar, GNU archiver: Linking with external libraries.a extension: Linking with external librariesar: How the compiler worksasm extension keyword: Floating-point issuesasm extension keyword: ANSI/ISOas: How the compiler worksattach, debug running program: Stopping a program in an infinite loopbacktrace, debugger command: Displaying a backtracebash profile file: Examining core filesbash profile file, login settings: Shared libraries and static librariesbash profile file, login settings: Environment variablestime command: Optimization examplesbreak, command in gdb: Setting a breakpoint.c extension: Compiling a simple C programg++: Compiling a simple C++ programg++ as a true compiler: Compiling a C++ programg++ compiler: A brief history of GCCstd: Using the C++ standard libraryc, C source file extension: Compiling a simple C programgcc: Compiling a simple C programgcc compiler: A brief history of GCCc89/c99, selected with -std: Selecting specific standardscc, C++ file extension: Compiling a simple C++ programCC, make variable: A simple makefileCFLAGS, make variable: A simple makefilechar, portability of signed vs unsigned: Portability of signed and unsigned typesgcc: Compiling a C programg++: Compiling a simple C++ programconst, warning about overriding by casts: Additional warning optionscontinue, command in gdb: Continuing executiongcov: Coverage testing with gcovcpp, C preprocessor: Using the preprocessorcpp, C++ file extension: Compiling a simple C++ programCPPFLAGS, make variable: A simple makefilecxx, C++ file extension: Compiling a simple C++ programCXX, make variable: A simple makefileCXXFLAGS, make variable: A simple makefilegdbm: Search path examplegdb: Compiling for debugginga.out: Compiling a simple C program$, shell prompt: Conventions used in this manualldd: Finding dynamically linked librariesgdb mode: More information about GDBreturn, incorrect use of: Warning options in -Walla.out: Compiling a simple C programfile command: Identifying filesgdb: Continuing executionexport keyword, not supported in GCC: The export keyword.a archive file: Linking with external libraries.c source file: Compiling a simple C program.C, C++ file: Compiling a simple C++ program.cc, C++ file: Compiling a simple C++ program.cpp, C++ file: Compiling a simple C++ program.cxx, C++ file: Compiling a simple C++ program.h header file: Compiling multiple source files.i preprocessed file: The preprocessor.ii preprocessed file: The preprocessor.o object file: Compiling files independently.s assembly file: The compiler.so shared object file: Shared libraries and static librariesfile command, for identifying files: Identifying files.a archive file: Linking with external libraries.c source file: Compiling a simple C program.C, C++ file: Compiling a simple C++ program.cc, C++ file: Compiling a simple C++ program.cpp, C++ file: Compiling a simple C++ program.cxx, C++ file: Compiling a simple C++ program.h header file: Compiling multiple source files.i preprocessed file: The preprocessor.ii preprocessed file: The preprocessor.o object file: Compiling files independently.s assembly file: The compiler.so shared object file: Shared libraries and static librariesfinish, command in gdb: Continuing executionfldcw set floating point mode: Floating-point issuesg77 compiler: A brief history of GCCg++, compiling C++ programs: Compiling a simple C++ programg++, GNU C++ Compiler: A brief history of GCCg77, Fortran compiler: A brief history of GCCgcc, GNU C Compiler: A brief history of GCCgcc, simple example: Compiling a simple C programgcc, used inconsistently with g++: Compiling a simple C++ programgcj, GNU Compiler for Java: A brief history of GCCgcov, GNU coverage testing tool: Coverage testing with gcovgdb: Compiling for debugginggdb, debugging core file with: Examining core filesgdb, Emacs mode: More information about GDBgdb, graphical interface: More information about GDBgdbm, GNU DBM library: Search path examplegmon.out, data file for gprof: Using the profiler gprofgnat, GNU ADA compiler: A brief history of GCCar: Linking with external librariesgdb: Compiling for debugginggnu89/gnu99, selected with -std: Selecting specific standardsGNU_SOURCE macro (_GNU_SOURCE), enables extensions to GNU C Library: ANSI/ISOgprof, GNU Profiler: Using the profiler gprofgxx_personality_v0, undefined reference error: Compiling a simple C++ programh, header file extension: Compiling multiple source files.h extension: Compiling multiple source files.h extension for C++: Using the C++ standard libraryi, preprocessed file extension for C: The preprocessorfile command: Identifying filesii, preprocessed file extension for C++: The preprocessorgdb: More information about GDBiso9899:1990/iso9899:1999, selected with -std: Selecting specific standardsgcj compiler: A brief history of GCCld.so.conf, loader configuration file: Shared libraries and static librariesldd, dynamical loader: Finding dynamically linked librariesar: Creating a library with the GNU archiverlibstdc++, C++ standard library: Using C++ standard library templatesld: The linkerld: How the compiler worksld.so.conf: Shared libraries and static librariesasm keyword: Floating-point issuesstd in C++: Using the C++ standard librarynext, command in gdb: Stepping through the programnm command: Examining the symbol tableo, object file extension: Compiling files independently.o extension: Compiling files independentlyfile command: Identifying filescpp: How the compiler worksprint debugger command: Examining core filesprintf, example of error in format: Finding errors in a simple programprintf, incorrect usage warning: Warning options in -Wallgprof: Using the profiler gproftime command: Optimization exampless, assembly file extension: The compilerscanf, incorrect usage warning: Runtime error messagesscanf, incorrect usage warning: Warning options in -Wallset, command in gdb: Modifying variablesldd: Finding dynamically linked libraries.so extension: Shared libraries and static librarieschar option: Portability of signed and unsigned typesso, shared object file extension: Shared libraries and static librariesspecs directory, compiler configuration files: Version numberssqrt, example of linking with: Linking with external librariesstd namespace in C++: Using the C++ standard librarystep, command in gdb: Stepping through the programgdb: Setting a breakpointstrip command: Identifying filesnm: Examining the symbol tablear archive: Creating a library with the GNU archivertcsh, limit command: Examining core filesexport keyword: The export keywordcore dumped): Examining core filestime command, measuring run-time: Optimization examplesg++: Compiling a C++ programtypeof, GNU C extension keyword: ANSI/ISO__gxx_personality_v0: Compiling a simple C++ programgcc: Compiling a simple C++ programunix, GNU C extension keyword: ANSI/ISOchar option: Portability of signed and unsigned typesvax, GNU C extension keyword: ANSI/ISOreturn, incorrect use of: Warning options in -Wall