CCompilerDriver`
CCompilerDriver`

$CCompiler

$CCompiler

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

Details

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

Examples

Basic Examples  (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 Language function, https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html.

Text

Wolfram Research (2010), $CCompiler, Wolfram Language function, https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html.

BibTeX

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

BibLaTeX

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

CMS

Wolfram Language. 2010. "$CCompiler." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html.

APA

Wolfram Language. (2010). $CCompiler. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CCompilerDriver/ref/$CCompiler.html