pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

SourcesDirectives
OVERFLOW_TRAPS (page 508)-[no]overflow_traps
PRINTSYM (page 509)-[no]printsym
REFALIGNED (page 510)-refaligned(n)
RESETTOG (page 511)-resettog(value)
ROUND (page 512)-[no]round
SETTOG (page 513)-settog(value)
SYMBOLS (page 515)-[no]symbols
SYNTAX (page 516)-[no]syntax
WARN (page 517)-warn=n
The command-line interface allows you to create batch scripts for use on multiple platforms.
Compilation and Linking
The pTAL cross compiler can compile only one pTAL source file at a time.
Difference between platforms:
Command-Line Platform (ptal or eptal)ETK Platform (NonStop pTAL)
Linking must be performed as a separate step after
compilation.
Compilation and linking can be performed in one step.
You must specify the run-time libraries to the linker.Provides a GUI-based interface for you to select linker
options.
pTAL cross compiler linking is performed with one of the cross linkers:
Object CodeDirectiveCross CompilersCross Linker
Non-PIC-nocall_shared*NonStop pTALptalnld
PIC-call_shared**NonStop pTALptalld
PIC-call_sharedNonStop pTALeptaleld
* Default for pTAL. EpTAL ignores it (and issues a warning).
** Default for EpTAL.
NOTE: You cannot link PIC and non-PIC object files into a single object file.
For more information:
SourceTopic
nld Manualnld options
ld Manualld options
eld Manualeld options
Debugging
On the ETK platform, debug pTAL source code using Visual Inspect. After Visual Inspect is installed
on your workstation, you can configure Visual Inspect as an external tool.
Compilation and Linking 429