July 2010
Intermediate to advanced
360 pages
11h 12m
English
The GCS defines a set of variables that are sacred to the user. These variables should be referenced by a GNU build system, but never modified by a GNU build system. These so-called user variables include those listed in Table 2-2 for C and C++ programs.
Table 2-2. Some User Variables and Their Purposes
Variable | Purpose |
|---|---|
| A reference to the system C compiler |
| Desired C compiler flags |
| A reference to the system C++ compiler |
| Desired C++ compiler flags |
| Desired linker flags |
| Desired C/C++ preprocessor flags |
. . . |
This list is by no means comprehensive, and interestingly, there isn't a comprehensive list to be found in the GCS. In fact, most of these variables come from the documentation for the make utility itself. ...