CompilerEnvironmentObject
represents a collection of definitions that can be included in compilations by FunctionCompile and related functions.
Details
- A CompilerEnvironmentObject is a valid setting for the CompilerEnvironment option of FunctionCompile and related functions.
- A CompilerEnvironmentObject can be created by CreateCompilerEnvironment.
- Declarations can be added to a CompilerEnvironmentObject with CompilerEnvironmentAppendTo.
- The following possible properties can be used:
-
"PlatformData" detailed settings of the platform being targeted TargetSystem the machine architecture being targeted
Examples
Basic Examples (2)
The default compiler environment is a CompilerEnvironmentObject:
Create a new compiler environment:
Use the compiler environment in a compilation:
Query properties from a CompilerEnvironmentObject:
Text
Wolfram Research (2021), CompilerEnvironmentObject, Wolfram Language function, https://reference.wolfram.com/language/ref/CompilerEnvironmentObject.html.
CMS
Wolfram Language. 2021. "CompilerEnvironmentObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CompilerEnvironmentObject.html.
APA
Wolfram Language. (2021). CompilerEnvironmentObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompilerEnvironmentObject.html