$CompilerEnvironment
is the collection of definitions typically used by FunctionCompile and related functions.
Details
- A new $CompilerEnvironment can be made with CreateCompilerEnvironment.
- Typically, the $CompilerEnvironment is suitable for the platform on which the Wolfram Compiler is running.
Examples
Basic Examples (2)
Use the default compiler environment in a compilation:
The target system for the default environment is typically that of the host platform:
Use FunctionDeclaration with the default compiler environment:
Now there is no need to use the CompilerEnvironment option:
The default compiler environment can be restored to its default state:
Text
Wolfram Research (2021), $CompilerEnvironment, Wolfram Language function, https://reference.wolfram.com/language/ref/$CompilerEnvironment.html.
CMS
Wolfram Language. 2021. "$CompilerEnvironment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CompilerEnvironment.html.
APA
Wolfram Language. (2021). $CompilerEnvironment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CompilerEnvironment.html