Skip to main content
  • Book
  • © 2006

The Definitive Guide to GCC

Apress

Authors:

  • 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 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

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 (14 chapters)

  1. Front Matter

    Pages i-xxix
  2. Using GCC’s C Compiler

    • William von Hagen
    Pages 1-40
  3. Using GCC’s C++ Compiler

    • William von Hagen
    Pages 41-52
  4. Using GCC’s Fortran Compiler

    • William von Hagen
    Pages 53-77
  5. Using GCC’s Java Compiler

    • William von Hagen
    Pages 79-99
  6. Optimizing Code with GCC

    • William von Hagen
    Pages 101-117
  7. Analyzing Code Produced with GCC Compilers

    • William von Hagen
    Pages 119-150
  8. Using Autoconf and Automake

    • William von Hagen
    Pages 151-175
  9. Using Libtool

    • William von Hagen
    Pages 177-195
  10. Troubleshooting GCC

    • William von Hagen
    Pages 197-213
  11. Additional GCC and Related Topic Resources

    • William von Hagen
    Pages 215-226
  12. Compiling GCC

    • William von Hagen
    Pages 227-245
  13. Building and Installing Glibc

    • William von Hagen
    Pages 247-279
  14. Using Alternate C Libraries

    • William von Hagen
    Pages 281-297
  15. Building and Using C Cross-Compilers

    • William von Hagen
    Pages 299-320
  16. Back Matter

    Pages 321-550

About this book

The GNU Compiler Collection (GCC) offers a variety of compilers for different programming languages including C, C++, Java, Fortran, and Ada. The Definitive Guide to GCC, Second Edition has been revised to reflect the changes made in the most recent major GCC release, version 4. Providing in-depth information on GCC's enormous array of features and options, and introducing crucial tools such as autoconf, gprof, and libtool, this book functions as both a guide and reference.

This book goes well beyond a general introduction to GCC and covers key programming techniques such as profiling and optimization that, when used in conjunction with GCC's advanced features, can greatly improve application performance. This second edition will prove to be an invaluable resource, whether youre a student seeking familiarity with this crucial tool or an expert who uses GCC on a daily basis.

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 author

William von Hagen holds degrees in computer science, English writing, and art history. William has worked with UNIX systems since 1982, during which time he has been a system administrator, systems programmer, software developer, development manager, computing facilities operations manager, writer, documentation manager, and (now) content manager. William has written a number of books, including Linux Filesystems, Installing Red Hat Linux 7, and SGML For Dummies, and he contributed to writing Red Hat 7 Unleashed. He coauthored Mac OS X Power User's Guide with Brian Proffitt. William has written articles and software reviews for publications including Linux Magazine, Linux Format (UK), Maximum Linux, Mac Tech Magazine, Mac Home Magazine, and Mac Directory, and he has written extensive online material for CMP Media, Linux Planet, and Corel.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access