$CCompiler


sets the default C compiler to use for operating on C code.

DetailsDetails

  • To use , you first need to load it using Needs["CCompilerDriver`"].
  • You can assign to the name of a C compiler, or to a list of C compiler options.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

First, load the package:

In[1]:=
Click for copyable input

Set the default compiler to be the Intel C compiler:

In[2]:=
Click for copyable input

Set the default compiler to be the Intel C compiler and also set the location of the installation:

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