Skip to main content
  • 295 Accesses

Abstract

GCC’s default behavior is usually what you want. Rather, GCC usually does The Right Thing and, at least in our experience, rarely violates the Principle of Least Surprise. As you have no doubt begun to appreciate by now, if you want GCC to do something, chances are pretty good that it has a command-line option that will make it do so. Nevertheless, what should you do if you dislike GCC’s default behavior, get tired of typing the same command-line option, and do not know enough to modify GCC’s code? Naturally, you customize GCC using environment variables or, as you will learn in the next section, specification (spec) strings.

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

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

© 2004 Kurt Wall and William von Hagen

About this chapter

Cite this chapter

Wall, K., Von Hagen, W. (2004). Advanced GCC Usage. In: The Definitive Guide to GCC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0704-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0704-7_4

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-109-3

  • Online ISBN: 978-1-4302-0704-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics