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 you're a student seeking familiarity with this crucial tool or an expert who uses GCC on a daily basis.
Provides a complete command reference and explains how to use the info online help system
Covers material not covered in other texts: profiling, test coverage, and how to build and install GCC on a variety of operating system and hardware platforms
Explains how to build and install GCC on Linux, UNIX, and Windows systems, whether you have an existing GCC or not
The Definitive Guide to GCC is a comprehensive tutorial and guide to using the newest version of GCC, the “Gnue Compiler Collection.” GCC is quite simply the most used and most powerful tool for programmers on the planet. It goes beyond just command line invocations and teaches 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.
The Definitive Guide to GCC Book teaches you how to build, install, customize, use, and troubleshoot GCC 3.2, the GNU Compiler Collection version 3.2. 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.
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. Most recently, Hagen 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.