Skip to main content
  • 1145 Accesses

Abstract

Compiling GCC compilers from source is widely considered a difficult or even risky undertaking. I respectfully disagree. Admittedly, the process of compiling a compiler from source is complex, but the GNU development team takes care of most of the complexity for you. Moreover, merely building a compiler imposes no risk at all. Installing it, or rather, installing it incorrectly, can certainly destabilize your system. You can, however, install the newly built compiler as a supplemental or secondary compiler rather than as the system compiler and completely sidestep this risk. On the other hand, if you follow the instructions in this chapter, you can install the latest version of GCC as your primary compiler without impacting your system’s overall stability.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
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

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2006 William von Hagen

About this chapter

Cite this chapter

von Hagen, W. (2006). Compiling GCC. In: The Definitive Guide to GCC. Apress. https://doi.org/10.1007/978-1-4302-0219-6_11

Download citation

Publish with us

Policies and ethics