The Definitive Guide to GCC

Front Cover
Apress, Jun 29, 2011 - Computers - 584 pages
This book, The Definitive Guide to GCC, is about how to build, install, customize, use, and troub- shoot GCC version 4.x. GCC has long been available for most major hardware and operating system platforms and is often the preferred family of compilers. As a general-purpose set of compilers, GCC produces high-quality, fast code. Due to its design, GCC is easy to port to different architectures, which contributes to its popularity. GCC, along with GNU Emacs, the Linux operating system, the Apache Web server, the Sendmail mail server, and the BIND DNS server, are showpieces of the free software world and proof that sometimes you can get a free lunch. Why a Book About GCC? I wrote this book, and you should read it, for a variety of reasons: it covers version 4.x; it is the only book that covers general GCC usage; and I would argue that it is better than GCC’s own documen- tion. You will not find more complete coverage of GCC’s features, quirks, and usage anywhere else in a single volume. There are no other up-to-date sources of information on GCC, excluding GCC’s own documentation. GCC usually gets one or two chapters in programming books and only a few pa- graphs in other more general titles.
 

What people are saying - Write a review

User Review - Flag as inappropriate

This book also discusses also on " How to customize Gcc using spec strings and spec files.

User Review - Flag as inappropriate

this book should be available for free of cost

Contents

CHAPTER 2 Using GCCs C++ Compiler
41
CHAPTER 3 Using GCCs Fortran Compiler
53
CHAPTER 4 Using GCCs Java Compiler
79
CHAPTER 5 Optimizing Code with GCC
101
CHAPTER 6 Analyzing Code Produced with GCC Compilers
119
CHAPTER 7 Using Autoconf and Automake
151
CHAPTER 8 Using Libtool
177
CHAPTER 9 Troubleshooting GCC
197
CHAPTER 11 Compiling GCC
227
CHAPTER 12 Building and Installing Glibc
247
CHAPTER 13 Using Alternate C Libraries
281
CHAPTER 14 Building and Using C CrossCompilers
299
APPENDIX A Using GCC Compilers
321
APPENDIX B Machine and ProcessorSpecific Options for GCC
403
APPENDIX C Using GCCs Online Help
491
Index
505

CHAPTER 10 Additional GCC and Related Topic Resources
215

Other editions - View all

Common terms and phrases

About the author (2011)

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