CCompilers
This feature is not supported on the Wolfram Cloud.

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

更多信息更多信息

  • 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

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

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