[MacPorts] CompilerEnvironmentVariables modified

MacPorts Wiki noreply at macports.org
Sun Dec 8 19:56:22 UTC 2019


Page "CompilerEnvironmentVariables" was changed by MarcusCalhoun-Lopez
Diff URL: <https://trac.macports.org/wiki/CompilerEnvironmentVariables?action=diff&version=3>
Revision 3
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CompilerEnvironmentVariables
=========================================================================
--- CompilerEnvironmentVariables (version: 2)
+++ CompilerEnvironmentVariables (version: 3)
@@ -18,9 +18,9 @@
   * If the Xcode versions of the user and buildbot are different, ports can [https://trac.macports.org/ticket/59078 fail to build correctly].
 
 
-== Environmental Variables ==
+== Environment Variables ==
 
-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.
+To a limited extent, the behavior of compilers can also be controlled with [https://en.wikipedia.org/wiki/Environment_variable environment variables] instead of switches.
 ||= Switch =||= Variable =||= Affect =||= Notes =||
 || `-I` || CPATH || treated as a delimited list of paths to be added to the default system include path list || ||
 || `-L` || LIBRARY_PATH || tries the directories specified when searching for special linker files  || ||
@@ -30,12 +30,12 @@
 || || CC_PRINT_OPTIONS || like `-v` but logs the commands || [https://github.com/macports/macports-base/pull/163 interferes] with`-v`  ||
 || || CC_PRINT_OPTIONS_FILE || the file to log CC_PRINT_OPTIONS output to || ||
 
-Using environmental variables can alleviate some of the problems with switches.\\
+Using environment variables can alleviate some of the problems with switches.\\
 * They are less likely to be “baked in” the installed files.
 * Directories in CPATH and LIBRARY_PATH are searched **after** those specified by the command line options.
-However, an environmental variable is no panacea.
-* Not all build systems [https://github.com/macports/macports-ports/pull/5385 respect environmental variables].
-* Not all environmental variables are supported on all compilers.
+However, an environment variable is no panacea.
+* Not all build systems [https://github.com/macports/macports-ports/pull/5385 respect environment variables].
+* Not all environment variables are supported on all compilers.
 * Setting CC_PRINT_OPTIONS causes `-v` to behave differently. For example, it breaks FindOpenMP in CMake.
 
 ||= Variable =||= Xcode Support =||= Clang Support =||= GCC Support =||
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/CompilerEnvironmentVariables>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'CompilerEnvironmentVariables' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list