User Variables
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. ...
Get Autotools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.