| 82 | |
| 83 | === Environment Variables === |
| 84 | To a limited extent, the behavior of compilers can also be controlled with [https://en.wikipedia.org/wiki/Environment_variable environment variables] instead of [https://en.wikipedia.org/wiki/Command-line_interface#Command-line_option switches].\\ |
| 85 | However, not all compilers support all environment variables. |
| 86 | |
| 87 | ||= Variable =||= Xcode Support =||= Clang Support =||= GCC Support =|| |
| 88 | || CPATH || Xcode 4.3 for Clang\\Apple clang version 3.1 (tags/Apple/clang-318.0.45 (based on LLVM 3.1svn);\\all GCC versions || all available from MacPorts || all available from MacPorts || |
| 89 | || LIBRARY_PATH || Xcode 4.4 for Clang\\Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn);\\all GCC versions || all available from MacPorts || all available from MacPorts || |
| 90 | || MACOSX_DEPLOYMENT_TARGET || all || all available from MacPorts || all available from MacPorts || |
| 91 | || SDKROOT || OSX 10.9 (existence of /usr/lib/libxcselect.dylib) || all available from MacPorts || [https://github.com/macports/macports-ports/commit/dd197967ac1c9fb9b489ee4e347a2f5a859f9839 version 7], [https://github.com/macports/macports-ports/pull/6083 version 8], [https://github.com/macports/macports-ports/commit/1850136d289019f3b29a5b24d3ec8ef9b23913ee version 9+] || |
| 92 | || DEVELOPER_DIR || OSX 10.9 (existence of /usr/lib/libxcselect.dylib) || N/A || N/A || |
| 93 | || CC_PRINT_OPTIONS || all || all available from MacPorts || all available from MacPorts || |
| 94 | || CC_PRINT_OPTIONS_FILE || all || all available from MacPorts || all available from MacPorts || |
| 95 | |
| 96 | See CompilerEnvironmentVariables for descriptions of the environment variables. |