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

Details and Options

  • 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

Examples

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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