Skip to main content
  • Book
  • © 2004

The Definitive Guide to GCC

Apress
  • Explains how to use major GCC features

  • Describes each GCC command line option, often using examples to illustrate usage

  • Teaches you how to integrate GCC, libtool, autoconf, and automake into a seamless code development environment

  • Explains how to build and install GCC on Linux, UNIX, and Windows systems, whether they have an existing GCC or not

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xxviii
  2. Building GCC

    • Kurt Wall, William Von Hagen
    Pages 1-37
  3. Installing GCC on DOS and Windows Platforms

    • Kurt Wall, William Von Hagen
    Pages 39-57
  4. Basic GCC Usage

    • Kurt Wall, William Von Hagen
    Pages 59-99
  5. Advanced GCC Usage

    • Kurt Wall, William Von Hagen
    Pages 101-134
  6. Optimizing Code with GCC

    • Kurt Wall, William Von Hagen
    Pages 135-146
  7. Performing Code Analysis with GCC

    • Kurt Wall, William Von Hagen
    Pages 147-185
  8. Using Autoconf and Automake

    • Kurt Wall, William Von Hagen
    Pages 187-219
  9. Using Libtool

    • Kurt Wall, William Von Hagen
    Pages 221-244
  10. Troubleshooting GCC

    • Kurt Wall, William Von Hagen
    Pages 245-263
  11. Using GCC’s Online Help

    • Kurt Wall, William Von Hagen
    Pages 265-281
  12. GCC Command-Line Options

    • Kurt Wall, William Von Hagen
    Pages 283-346
  13. Additional GCC Resources

    • Kurt Wall, William Von Hagen
    Pages 347-361
  14. Back Matter

    Pages 363-520

About this book

The Definitive Guide to GCC is a comprehensive tutorial and guide to using GCC, 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.

Reviews

From the reviews of the second edition:

"This book is a user’s guide for some of the more commonly used GNU compilers and their collection of supporting tools. … This would be useful for more advanced users. … It also provides a good starting point for anyone that needs more information than what is in this book." (J. Miller, ACM Computing Reviews, Vol. 49 (2), February, 2008)

About the authors

Kurt Wall first touched a computer in 1980, when he learned FORTRAN on an IBM mainframe of forgotten vintage; things have only gotten better since. A professional technical writer by trade, Kurt has worked for companies as diverse as Virtual Solutions Inc. to Caldera Systems, where he created the documentation for the OpenLinux eServer and eDesktop and associated tools. These days, Kurt works for TimeSys Corporation in Pittsburgh, Pennsylvania, where he writes all of the Linux documentation for TimeSys's embedded Linux products. Kurt is the author of Red Hat Linux Networking and System Administration, Linux Programming Unleashed, Second Edition, and Linux Programming by Example, and he's the coauthor of Red Hat Linux Weekend Crash Course, Third Edition. He has contributed to over 15 other Linux-related books covering topics such as system administration, performance tuning, clustering, and programming.

Bibliographic Information

  • Book Title: The Definitive Guide to GCC

  • Authors: Kurt Wall, William Hagen

  • DOI: https://doi.org/10.1007/978-1-4302-0704-7

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Springer Book Archive

  • Copyright Information: Apress 2004

  • eBook ISBN: 978-1-4302-0704-7Published: 01 January 2008

  • Edition Number: 1

  • Number of Pages: XXVIII, 552

  • Topics: Software Engineering/Programming and Operating Systems

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access