eld Manual

Table Of Contents
Introduction to eld
eld Manual527255-009
1-2
Example Command Line
Example Command Line
The following is an example of a linker command line:
eld myobj1 myobj2 -o myprog -lib mydll
This command specifies linkfiles myobj1 and myobj2 as inputs to the linker, which is
named eld. The linker will combine them into the program named myprog, and will
bind references against a DLL found from mydll.
For a longer example of using eld, see the Example of Use on page 1-9.
eld Functionality
eld can also :
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 eld in these ways:
Manually, at a command prompt.
Automatically, when using these compilers:
This publication explains only how to run eld manually. For information on running eld
automatically, see:
Environment Compiler
Guardian CCOMP
CPPCOMP
ECOBOL
OSS c89
c99
ecobol
Windows NT*
Windows 2000*
Windows XP*
All of the above and eptal
* By means of the Cross-Compiler CDs, ETK