-
Notifications
You must be signed in to change notification settings - Fork 2
Language Specification (C) : Target Parameters
Benjamin Kowarsch edited this page Mar 17, 2026
·
2 revisions
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.
| 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 |
| 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 |
| Boolean Constant | indicates whether ... |
|---|---|
IsBigEndian |
target uses big-endian byte order |
IsLittleEndian |
target uses little-endian byte order |
SupportsAO |
code generator supports atomic operations for this target |
SupportsTCE |
code generator supports tail call elimination for this target |
Copyright © 2015-2018 Modula-2 Software Foundation