CCompilerDriver`
CCompilerDriver`

CCompilers

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)

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:

Wolfram Research (2010),CCompilers,Wolfram 语言函数,https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html.

文本

Wolfram Research (2010),CCompilers,Wolfram 语言函数,https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html.

CMS

Wolfram 语言. 2010. "CCompilers." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html.

APA

Wolfram 语言. (2010). CCompilers. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html 年

BibTeX

@misc{reference.wolfram_2024_ccompilers, author="Wolfram Research", title="{CCompilers}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_ccompilers, organization={Wolfram Research}, title={CCompilers}, year={2010}, url={https://reference.wolfram.com/language/CCompilerDriver/ref/CCompilers.html}, note=[Accessed: 21-December-2024 ]}