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

CCompilers


returns the list of C compilers supported for this version of Mathematica that can be found on your system.
Full
returns the list of all C compilers supported for this version of Mathematica (but which may not actually be installed).
  • To use , you first need to load it using Needs.
  • The following option can be given:
"TargetSystemID"$SystemIDthe system for which the compilers should be checked
First, load the package:
Show the compilers supported for this platform (Windows) that can be located:
Show all the compilers supported for this platform (Windows). Note that on this machine only Visual Studio is actually installed:
Show the compilers supported for Linux:
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]=