pTAL Reference Manual (H06.03+)
pTAL Cross Compiler
HP pTAL Reference Manual—523746-005
18-5
Compilation and Linking
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:
pTAL cross compiler linking is performed with one of the cross linkers:
For more information:
-[no]symbols
SYMBOLS on page 17-64
-[no]syntax
SYNTAX on page 17-65
-warn=n
WARN on page 17-69
ETK Platform (NonStop pTAL) Command-Line Platform (ptal or eptal)
Compilation and linking can be performed in
one step.
Linking must be performed as a separate
step after compilation.
Provides a GUI-based interface for you to
select linker options.
You must specify the run-time libraries to the
linker.
Cross Linker Cross Compilers Directive Object Code
nld NonStop pTAL
ptal
-nocall_shared*
Non-PIC
ld NonStop pTAL
ptal
-call_shared** PIC
eld NonStop pTAL
eptal
-call_shared PIC
* 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.
Topic Source
nld options nld Manual
ld options ld Manual
eld options eld Manual
Directives Sources (page 2 of 2)










