$CompilationTarget
gives the default value for the option CompilationTarget of Compile.
Details
- Possible settings for $CompilationTarget are those given for CompilationTarget.
- The default setting for $CompilationTarget is "WVM".
- $CompilationTarget = "WVM" indicates that the Wolfram Language compiler should generate code for the traditional Wolfram Language virtual machine.
- $CompilationTarget = "C" indicates that the Wolfram Language compiler should create C code, compile this to an external machine code library, and link back into the Wolfram Language.
Examples
Basic Examples (1)
You can set $CompilationTarget to "C" to generate C code from Compile:
Wolfram Research (2010), $CompilationTarget, Wolfram Language function, https://reference.wolfram.com/language/ref/$CompilationTarget.html.
Text
Wolfram Research (2010), $CompilationTarget, Wolfram Language function, https://reference.wolfram.com/language/ref/$CompilationTarget.html.
CMS
Wolfram Language. 2010. "$CompilationTarget." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CompilationTarget.html.
APA
Wolfram Language. (2010). $CompilationTarget. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CompilationTarget.html