In the edit-compile-link-debug development cycle,
link time is a
significant component. With incremental
linking, any unchanged
object files can be reused without
being reprocessed. Incremental
linking allows you to
insert object code into an output file (executable
or
shared library) that you created earlier, without relinking any
unmodified
object files. Time required to relink after the initial
incremental
link depends on the number of modules you modify.
To use incremental linking, specify the +ild option on the
aCC command line. If the output file does not already exist or
if it was created without the +ild option, the linker performs an
initial incremental link. The output file produced is suitable for
subsequent incremental links.
The +ild option is valid in 64-bit mode for both executable
and shared library links. The +ild option is not valid for relocatable
links, options (or tools) that strip the output module, and with
some optimization options.
In certain situations (for example, when internal padding
space is exhausted), the incremental linker must perform an initial incremental
link. You can avoid such unexpected initial incremental links
by periodically rebuilding the output file with the +ildrelink option.
You can debug the resulting executable or shared library produced
by the incremental linker using the WDB debugger with incremental-linking
support.
See the Online Linker and Libraries User's
Guide (ld +help) and ld(1) for more information.Also
refer to the HP aC++ Online Programmer's Guide (aCC
+help).