Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

1 Introduction
1.1 A brief history of GCC
1.2 Major features of GCC
1.4 Conventions used in this manual
2 Compiling a C program
2.1 Compiling a simple C program
2.2 Finding errors in a simple program
2.3 Compiling multiple source files
2.4.1 Creating object files from source files
2.4.3 Link order of object files
2.5 Recompiling and relinking
2.6 Linking with external libraries
2.7 Using library header files
3 Compilation options
3.1 Setting search paths
3.1.1 Search path example
3.1.2 Environment variables
3.1.3 Extended search paths
3.2 Shared libraries and static libraries
3.3 C language standards
3.3.2 Strict ANSI/ISO
3.4 Warning options in -Wall
4 Using the preprocessor
4.1 Defining macros
4.2 Macros with values
4.3 Preprocessing source files
5 Compiling for debugging
5.1 Examining core files
6 Compiling with optimization
when compiling with optimization
6.1 Source-level optimization
6.1.1 Common subexpression elimination
6.1.2 Function inlining
6.2 Speed-space tradeoffs
6.2.1 Loop unrolling
6.3 Scheduling
6.4 Optimization levels
6.5 Examples
6.7 Optimization and compiler warnings
7 Compiling a C++ program
7.1 Compiling a simple C++ program
7.2 Using the C++ standard library
7.3 Templates
7.3.1 Using C++ standard library templates
7.3.2 Providing your own templates
7.3.3 Explicit template instantiation
7.3.4 The export keyword
8 Platform-specific options
8.1 Intel and AMD x86 options
8.2 DEC Alpha options
8.3 SPARC options
8.5 Multi-architecture support
9 Troubleshooting
9.1 Help for command-line options
9.2 Version numbers
9.3 Verbose compilation
10 Compiler-related tools
10.1 Creating a library with the GNU archiver
10.2 Using the profiler gprof
10.3 Coverage testing with gcov
11 How the compiler works
11.1 An overview of the compilation process
of how the compiler works
11.3 The compiler
11.4 The assembler
11.5 The linker
12 Examining compiled files
12.1 Identifying files
12.2 Examining the symbol table
13 Getting help
Further reading
Other books from the publisher
Free software organizations
GNU Free Documentation License
0 of .
Results for:
No results containing your search query
P. 1
An Introduction to GCC

An Introduction to GCC

Ratings: (0)|Views: 54|Likes:
Published by nahanchd

More info:

Published by: nahanchd on Aug 03, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 20 are not shown in this preview.
You're Reading a Free Preview
Pages 24 to 31 are not shown in this preview.
You're Reading a Free Preview
Pages 35 to 81 are not shown in this preview.
You're Reading a Free Preview
Pages 85 to 124 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
arthurrozier liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->