此为 Mathematica 8 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

$CCompiler


sets the default C compiler to use for operating on C code.
  • To use , you first need to load it using Needs.
  • You can assign to the name of a C compiler, or to a list of C compiler options.
First, load the package:
Set the default compiler to be the Intel C compiler:
Set the default compiler to be the Intel C compiler and also set the location of the installation:
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