pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-68
TA RG E T
The compilation command in Example 17-38 on page 17-68 checks the syntax of
global data declarations in source file myprog and saves the declarations in file
ptalsym for use in subsequent compilations.
The compilation command in Example 17-39 on page 17-68 checks for the syntax of
the code or data in source file myprog. In this compilation, USEGLOBALS retrieves
global data declarations saved in the compilation shown in Example 17-38 on
page 17-68.
TARGET
TARGET specifies the architecture on which you will run the object file produced by the
current compilation.
Default: The compiler produces an object file
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: Interacts with SAVEGLOBALS and USEGLOBALS (see Saving Global
Data Declarations on page 17-9)
References:
•
SAVEGLOBALS on page 17-56
•
USEGLOBALS on page 17-69
Example 17-38. SYNTAX Directive
pTAL /IN myprog/; SAVEGLOBALS ptalsym, SYNTAX
Example 17-39. SYNTAX Directive
pTAL /IN myprog/; USEGLOBALS ptalsym, SYNTAX
TARGET
RISC1
ANY
TNS_R_ARCH
TNS_ARCH
_TNS_E_TARGET
VST673.vsd
T16
LIBERTY










