Changes between Version 7 and Version 8 of CompilerSelection


Ignore:
Timestamp:
Jan 28, 2020, 11:52:51 AM (4 years ago)
Author:
MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilerSelection

    v7 v8  
    7878To implement it, [https://en.wikipedia.org/wiki/MPICH MPICH] and [https://en.wikipedia.org/wiki/Open_MPI Open MPI] provide wrappers for Clang, GCC, and Xcode.
    7979
    80 The compilers provided by Xcode only support [https://en.wikipedia.org/wiki/Thread-local_storage thread-local storage] if the OS supports it, which did not happen until [https://en.wikipedia.org/wiki/Mac_OS_X_Lion Mac OS X Lion].
     80The compilers provided by Xcode only support [https://en.wikipedia.org/wiki/Thread-local_storage thread-local storage] if the OS supports it, which did not happen until [https://en.wikipedia.org/wiki/Mac_OS_X_Lion Mac OS X Lion].\\
    8181GCC and Clang can emulate thread-local storage even on versions of macOS that do not support it.
     82
     83=== Environment Variables ===
     84To 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].\\
     85However, 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
     96See CompilerEnvironmentVariables for descriptions of the environment variables.
    8297
    8398=== C++ Standard Library ===