Skip to content

Language Specification (C) : Target Parameters

Benjamin Kowarsch edited this page Aug 13, 2020 · 1 revision

Target Parameters

Module Trgt provides target specific constants. Its provision is mandatory. Where any of the required constants are dependent on user selectable compiler options, the module may be implemented as a built-in module.

Identity

Constant Type Meaning
ShortName String Literal short name of the target
LongName String Literal long name of the target
MajorVersion Whole Number major version of the code generator for this target
MinorVersion Whole Number minor version of the code generator for this target
SubMinorVersion Whole Number sub-minor version of the code generator for this target

Classification

Boolean Constant indicates whether target ...
IsProcessor is a hardware architecture
IsVirtualProcessor is a processor independent assembler backend
IsVirtualMachineHost is a virtual machine host and runtime environment
IsHigherLevelLanguage is a language processor for a higher level programming language

Characteristics

Boolean Constant indicates whether ...
IsBigEndian target uses big-endian byte order
IsLittleEndian target uses little-endian byte order
SupportsTCE code generator supports tail call elimination for this target
Clone this wiki locally