Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
16Activity

Table Of Contents

Foreword
1 Introduction
1.1 A brief history of GCC
1.2 Major features of GCC
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.6.1 Link order of 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.1 ANSI/ISO
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
Acknowledgements
Other books from the publisher
Free software organizations
GNU Free Documentation License
Index
0 of .
Results for:
No results containing your search query
P. 1
an introduction to gcc - for the gnu compilers gcc and g++ [brian gough]

an introduction to gcc - for the gnu compilers gcc and g++ [brian gough]

Ratings: (0)|Views: 589 |Likes:
Published by Sandeep
BY SANDEEP
BY SANDEEP

More info:

Published by: Sandeep on May 11, 2009
Copyright:Attribution Non-commercial

Availability:

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

02/21/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 10 are not shown in this preview.
You're Reading a Free Preview
Pages 14 to 124 are not shown in this preview.

Activity (16)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
kaosad liked this
aslan_hari liked this
evan lionheart liked this
Guala liked this
gadehothur liked this
shanthi liked this
xcdddd liked this

You're Reading a Free Preview

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