The definitive guide to GCC /
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 pref...
| Main Author: | |
|---|---|
| Corporate Author: | |
| Other Authors: | |
| Format: | eBook |
| Language: | English |
| Published: |
Berkeley, CA :
Apress,
2004.
|
| Subjects: | |
| Online Access: | Connect to the full text of this electronic book |
Table of Contents:
- Chapter 1 Building GCC 1
- Why Build GCC from Source? 1
- Chapter 2 Installing GCC on DOS and Windows Platforms 39
- Installing Cygwin 39
- Installing DJGPP 47
- Chapter 3 Basic GCC Usage 59
- General Options 59
- Controlling GCC's Output 62
- Compiling C Dialects 69
- Using GCC with C++ 74
- Controlling the Preprocessor 77
- Modifying the Directory Search Path 78
- Controlling the Linker 82
- Passing Options to the Assembler 86
- Enabling and Disabling Warning Messages 86
- Adding Debugging Information 94
- Chapter 4 Advanced GCC Usage 101
- Customizing GCC Using Environment Variables 101
- Customizing GCC with Spec Files and Spec Strings 103
- GCC's C and Extensions 108
- Chapter 5 Optimizing Code with GCC 135
- A Whirlwind Tour of Compiler Optimization Theory 135
- Processor-Independent Optimizations 138
- Processor-Specific Optimizations 145
- Chapter 6 Performing Code Analysis with GCC 147
- Test Coverage Using GCC and gcov 148
- Chapter 7 Using Autoconf and Automake 187
- Unix Software Configuration, Autoconf, and Automake 187
- Installing and Configuring Autoconf and Automake 191
- Configuring Software with Autoconf and Automake 200
- Running configure Scripts 218
- Chapter 8 Using Libtool 221
- Introduction to Libraries 221
- What Is Libtool? 226
- Downloading and Installing Libtool 228
- Using Libtool 232
- Troubleshooting Libtool Problems 243
- Getting More Information About Libtool 244
- Chapter 9 Troubleshooting GCC 245
- Coping with Known Bugs and Misfeatures 245
- Resolving Common Problems 247
- Resolving Build and Installation Problems 262
- Chapter 10 Using GCC's Online Help 265
- What Is GNU Info? 265
- Getting Started, or Instructions for the Impatient 267
- The Beginner's Guide to Using GNU Info 269
- Stupid Info Tricks 279
- Chapter 11 GCC Command-Line Options 283
- Alphabetical List of GCC Options 284
- Alphabetical List of GCC Assembler Options 336
- Alphabetical List of GCC Linker Options 336
- Alphabetical List of GCC Preprocessor Options 338
- GCC Option Reference 344
- Chapter 12 Additional GCC Resources 347
- Usenet Resources for GCC 347
- Mailing Lists for GCC 352
- World Wide Web Resources for GCC 358
- Publications About GCC and Related Topics 359
- Appendix A Building and Installing Glibc 363
- What Is in Glibc? 363
- Alternatives to Glibc 365
- Why Build Glibc from Source? 367
- Previewing the Build Process 374
- Recommended Tools for Building Glibc 376
- Downloading and Installing Source Code 379
- Configuring the Source Code 385
- Compiling Glibc 388
- Testing the Build 390
- Installing Glibc 390
- Getting More Information About Glibc 400
- Appendix B Machine and Processor-Specific Options for GCC 403
- Alpha Options 405
- Alpha/VMS Options 411
- AMD x86-64 Options 412
- AMD29K Options 413
- ARC Options 415
- ARM Options 416
- AVR Options 422
- Clipper Options 424
- Convex Options 424
- CRIS Options 425
- D30V Options 428
- H8/300 Options 429
- HP/PA (PA/RISC) Options 430
- i386 and AMD x86-64 Options 432
- IA-64 Options 438
- Intel 960 Options 440
- M32R Options 442
- M680x0 Options 443
- M68hc1x Options 447
- M88K Options 447
- MCore Options 451
- MIPS Options 452
- MMIX Options 460
- MN10200 Options 461
- MN10300 Options 462
- NS32K Options 462
- PDP-11 Options 464
- PowerPC (PPC) Options 466
- RS/6000 Options 478
- RT Options 478
- S/390 and zSeries Options 479
- SH Options 480
- SPARC Options 482
- System V Options 487
- TMS320C3x/C4x Options 488
- V850 Options 491
- VAX Options 492
- Xstormy16 Options 492
- Xtensa Options 492.