This file describes the pre-defined manifests provided by the compiler. Note: to define symbols on the compiler command line, the syntax is
c <other options> Define=name=value Define=name2=value ...
The "Host" is the machine on which the compilation is taking place. The way CPP evaluates expressions for #if and the syntax of #include file names both depend on the specific host machine.
The "Target" is the machine on which the compiled program will run. Compiled-in file names, sizes of structures, and library quirks all depend on the specific target machine.
The compiler provides four symbols to the preprocessor.
_HS_xxx - defines the Host System to be 'xxx' _HM_xxx - defines the Host Machine to be 'xxx' _TS_xxx - defines the Target System to be 'xxx' _TM_xxx - defines the Target Machine to be 'xxx'
Where a heirarchy of target environments exists, multiple target system manifests may be defined. For example, in Gcos8 the compiler defines _TM_GCOS8 for both SS and NS modes, and in addition defines one of _TM_GCOS8_SS or _TM_GCOS8_NS.
Copyright © 1996, Thinkage Ltd.