CCompilerDriver`
CCompilerDriver`

$CCompiler

$CCompiler

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

更多信息和选项

  • To use $CCompiler, you first need to load it using Needs["CCompilerDriver`"].
  • You can assign $CCompiler to the name of a C compiler, or to a list of C compiler options.

范例

基本范例  (1)

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:

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

文本

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_$ccompiler, author="Wolfram Research", title="{$CCompiler}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$ccompiler, organization={Wolfram Research}, title={$CCompiler}, year={2010}, url={https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html}, note=[Accessed: 05-November-2024 ]}