Example Command Line; Eld Functionality - HP eld Manual

Table of Contents

Advertisement

Introduction to eld

Example Command Line

The following is an example of a linker command line:
myobj1 myobj2 -o myprog -lib mydll
eld
This command specifies linkfiles myobj1 and myobj2 as inputs to the linker, which is
named
. The linker will combine them into the program named myprog, and will
eld
bind references against a DLL found from mydll.
For a longer example of using eld, see the

eld Functionality

can also :
eld
obtain its input linkfiles from archives.
combine existing linkfiles into a new linkfile with the -r option.
create an import library, including one that represents all the "implicit" libraries.
bind references against user libraries and import libraries.
update an existing loadfile with the -alf, -change, and -strip options.
The linker does not have a programmatic interface other than starting it as a new
process, providing it the appropriate inputs, and looking at the outputs that it produces.
There are various ways of invoking the linker, such as directly from the command line,
indirectly from other command line tools such as the C compiler, or through graphical
user interfaces. You can run
Manually, at a command prompt.
Automatically, when using these compilers:
Environment
Guardian
OSS
Windows NT*
Windows 2000*
Windows XP*
* By means of the Cross-Compiler CDs, ETK
This publication explains only how to run
automatically, see:
Example of Use
in these ways:
eld
Compiler
CCOMP
CPPCOMP
ECOBOL
c89
c99
ecobol
All of the above and eptal
eld
eld Manual—527255-009
1-2
on page 1-9.
manually. For information on running
Example Command Line
eld

Advertisement

Table of Contents
loading

Table of Contents