- publishing free software manuals
An Introduction to GCC - for the GNU compilers gcc and g++
by Brian J. Gough, foreword by Richard M. Stallman
Paperback (6"x9"), 144 pages
ISBN 0954161793
RRP £12.95 ($19.95)

"An excellent introduction... fills a much-needed niche in the marketplace" --- Association of C and C++ Users book review (Issue 16-4, August 2004) Get a printed copy>>>

7 Compiling a C++ program

This chapter describes how to use GCC to compile programs written in C++, and the command-line options specific to that language.

The GNU C++ compiler provided by GCC is a true C++ compiler--it compiles C++ source code directly into assembly language. Some other C++ "compilers" are translators which convert C++ programs into C, and then compile the resulting C program using an existing C compiler. A true C++ compiler, such as GCC, is able to provide better support for error reporting, debugging and optimization.

ISBN 0954161793An Introduction to GCC - for the GNU compilers gcc and g++See the print edition