Changes between Version 2 and Version 3 of CompilerEnvironmentVariables


Ignore:
Timestamp:
Dec 8, 2019, 7:56:21 PM (4 years ago)
Author:
MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilerEnvironmentVariables

    v2 v3  
    1919
    2020
    21 == Environmental Variables ==
     21== Environment Variables ==
    2222
    23 To a limited extent, the behavior of compilers can also be controlled with [https://en.wikipedia.org/wiki/Environment_variable environmental variables] instead of switches.
     23To a limited extent, the behavior of compilers can also be controlled with [https://en.wikipedia.org/wiki/Environment_variable environment variables] instead of switches.
    2424||= Switch =||= Variable =||= Affect =||= Notes =||
    2525|| `-I` || CPATH || treated as a delimited list of paths to be added to the default system include path list || ||
     
    3131|| || CC_PRINT_OPTIONS_FILE || the file to log CC_PRINT_OPTIONS output to || ||
    3232
    33 Using environmental variables can alleviate some of the problems with switches.\\
     33Using environment variables can alleviate some of the problems with switches.\\
    3434* They are less likely to be “baked in” the installed files.
    3535* Directories in CPATH and LIBRARY_PATH are searched **after** those specified by the command line options.
    36 However, an environmental variable is no panacea.
    37 * Not all build systems [https://github.com/macports/macports-ports/pull/5385 respect environmental variables].
    38 * Not all environmental variables are supported on all compilers.
     36However, an environment variable is no panacea.
     37* Not all build systems [https://github.com/macports/macports-ports/pull/5385 respect environment variables].
     38* Not all environment variables are supported on all compilers.
    3939* Setting CC_PRINT_OPTIONS causes `-v` to behave differently. For example, it breaks FindOpenMP in CMake.
    4040