Advanced GCC Usage

  • Kurt Wall
  • William Von Hagen

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.

Keywords

Spec File Local Label Blank Line Struct Triplet Spec String 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Kurt Wall and William von Hagen 2004

Authors and Affiliations

  • Kurt Wall
  • William Von Hagen

There are no affiliations available

Personalised recommendations