MKC_CHECK_COMPILER(1) MKC_CHECK_COMPILER(1)

mkc_check_compiler - checks for C and C++ compiler type.

mkc_check_compiler [OPTIONS]

mkc_check_compiler recognizes the compiler type and version, and prints them to stdout. By default, temporary and cache files _mkc_compiler_type.{err,res} (for C compiler) and _mkc_cxx_type.{err,res} (for C++ compiler) are created under MKC_CACHEDIR directory.

Check C++ compiler type. By default C compiler type and version are checked.

C compiler. The default is cc.
C++ compiler. The default is c++.
If set to 1, verbose messages are output to stderr.
If set to 1 and MKC_VERBOSE is set to 1, cached results are output to stderr.
Directory where temporary and cache files are created. If unset they are created in a current directory.
All results are cached unless MKC_NOCACHE variable is set to 1.
If set to 1, temporary files are removed.

   export CC=icc; mkc_check_compiler
   export CXX=clang++; mkc_check_compiler -x

Aleksey Cheusov <vle@gmx.net>

February 4, 2020