CCompilerDriver`
CCompilerDriver`

CCompilers

CCompilers[]

returns the list of C compilers supported for this version of the Wolfram Language that can be found on your system.

CCompilers[Full]

returns the list of all C compilers supported for this version of the Wolfram Language (but which may not actually be installed).

Details

  • To use CCompilers, you first need to load it using Needs["CCompilerDriver`"].
  • The following option can be given:
  • "TargetSystemID"$SystemIDthe system for which the compilers should be checked

Examples

Basic Examples  (1)

First, load the package:

Show the compilers supported for this platform (Windows) that can be located:

Show all the compilers supported for this platform (Windows). Note that on this machine only Visual Studio is actually installed:

Show the compilers supported for Linux: