CCompilerDriver`
CCompilerDriver`

$CCompiler

$CCompiler

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

Details and Options

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

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

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 ]}