$CCompiler
This feature is not supported on the Wolfram Cloud.


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

更多信息更多信息

  • 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.

范例范例打开所有单元关闭所有单元

基本范例  (1)基本范例  (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