The Definitive Guide to GCC / Edition 1

The Definitive Guide to GCC / Edition 1

4.5 2
by Kurt Wall, William von Hagen
     
 

ISBN-10: 1590591097

ISBN-13: 9781590591093

Pub. Date: 01/13/2004

Publisher: Apress

The Definitive Guide to GCC is a comprehensive tutorial and guide to usingGCC, the GNU Compiler Collection. GCC is quite simply the most-used and most powerful tool for programmers on the planet. GCC has long been available for most major hardware and operating system platforms and is often the preferred compiler for those platforms. As a general-purpose

…  See more details below

Overview

The Definitive Guide to GCC is a comprehensive tutorial and guide to usingGCC, the GNU Compiler Collection. GCC is quite simply the most-used and most powerful tool for programmers on the planet. GCC has long been available for most major hardware and operating system platforms and is often the preferred compiler for those platforms. As a general-purpose compiler, GCC produces higher quality, faster performing executable code with fewer bugs than equivalent offerings supplied by hardware and software vendors. GCC, along with GNU Emacs, the Linux operating system, the Apache web server, the Sendmail mail server, and the BIND DNS server, is one of the showpieces of the free software world and proof that sometimes you can get a free lunch.

In The Definitive Guide to GCC, authors William von Hagen and Kurt Wall teach you how to build, install, customize, use, and troubleshoot GCC 3.2. This guide goes beyond just command-line invocations to show you how to use GCC to improve the quality of your code (with debugging, code profiling, and test code coverage), and how to integrate other GNU development tools, such as libtool, automake, and autoconf, into your GCC-based development projects.

Read More

Product Details

ISBN-13:
9781590591093
Publisher:
Apress
Publication date:
01/13/2004
Edition description:
1st Corrected ed. 2004. Corr. 2nd printing 2004
Pages:
552
Product dimensions:
7.00(w) x 9.25(h) x 0.93(d)

Table of Contents

Ch. 1Using GCC's C compiler1
Ch. 2Using GCC's C++ compiler41
Ch. 3Using GCC's Fortran compiler53
Ch. 4Using GCC's Java compiler79
Ch. 5Optimizing code with GCC101
Ch. 6Analyzing code produced with GCC compilers119
Ch. 7Using Autoconf and Automake151
Ch. 8Using Libtool177
Ch. 9Troubleshooting GCC197
Ch. 10Additional GCC and related topic resources215
Ch. 11Compiling GCC227
Ch. 12Building and installing Glibc247
Ch. 13Using alternate C libraries281
Ch. 14Building and using C cross-compilers299
App. AUsing GCC compilers321
App. BMachine- and processor-specific options for GCC403
App. CUsing GCC's online help491

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

The Definitive Guide to GCC 4.5 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
This book earns the coveted 5th star for it's clear and consise discusion on how to get automake and friends built. Better than the entire contents of the Automake and Autonconf book for someone not alread familiar with getting them set up. Good explanaation of GCC and updates from the 'GCC: The Complete Reference' to cover V 3.x
Guest More than 1 year ago
To some of us, gcc is an old friend. It has been around since the 80s. Predating linux, and from a time when free open source code was something weird. Gcc is a collection of compilers, and if you have a linux machine, gcc appears on it by default. But if gcc is free, why do you need this book? Well, the authors discovered a curious omission in the computing marketplace. There does not seem to be any other book in print, devoted to gcc. Other programming books, if they refer to gcc, do so only briefly. You might then ask, 'can't I just use the accompanying documentation?' Yes, but that documentation is geared towards the experienced gcc user. It is terse at the best of times, and portions can be opaque. Wall and Hagen point out that this lack of understandable documentation often turns users off gcc. They end up never using many of the powerful features added to it by experienced designers over the years. You should exploit their efforts, via this book. It explains at length the innumerable compiler options that most users never try. After reading this book, you do not have to shy away by using simple Makefiles. You can get enough understanding to actually build more powerful Makefiles; that use more fully gcc's potential. The book also treats affiliated programs. Like gcov for doing test coverage analysis. Or libtool, to make libraries. The heft of the book also answers a possible objection to the authors' efforts. That is, is there really enough to discuss to warrant an entire book? Indeed there is. Between the detailed discussion and a plentitude of examples, you might gain some appreciation of why the standard gcc documentation has been fleshed out here.