CCompilers


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

CCompilers[Full]
returns the list of all C compilers supported for this version of Mathematica (but which may not actually be installed).

DetailsDetails

  • To use , 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

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

First, load the package:

In[1]:=
Click for copyable input

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

In[2]:=
Click for copyable input
Out[2]=

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

In[3]:=
Click for copyable input
Out[3]=

Show the compilers supported for Linux:

In[4]:=
Click for copyable input
Out[4]=
New to Mathematica? Find your learning path »
Have a question? Ask support »