DLL Programmer's Guide for TNS/R Systems
Advanced DLL Facility Controls
DLL Programmer’s Guide for TNS/R Systems—522203-002
5-11
Load-Time Operation
If -verbose or -warn is in effect, then when a linking operation finishes, the linker 
puts out a completion message that covers the entire process and indicates how many 
of each type of message (error, warn, or information) were generated during the linking 
process. 
Command Stream Requests for Linker Messages 
In addition to the progress-reporting linker messages described above, you can 
request informational messages by inserting one of the following options. These are 
effective regardless of the message-control option in effect.
-y symbolname tells the linker to show the names of linkfiles that mention 
symbolname in their external symbol tables and the information in those tables 
about the symbol. -y reports on linkfiles that either reference the symbol or offer it 
for use beyond the same compilation. 
-show_multiple_defs tells the linker to show information about all multiply defined 
symbols. Unlike -y, the linker only provides information about linkfiles that offer the 
symbol for use beyond the same compilation, not about those that reference it. 
-map tells the linker to report the virtual addresses and sizes of the segments and the 
sections, within each segment, of a loadfile being built. Further, the linker shows 
the library and file names of all liblisted libraries. -m is a synonym for -map.
Load-Time Operation
To load a program and its DLLs, the system is commanded simply to load the program. 
The loader automatically ensures that the program’s entire loadList is loaded and that 
all symbols are resolved with proper bindings. 
Controlling the Loader’s Search Path at Load Time
Like the linker (ld), the loader (rld) searches for DLLs, but the loader does it according 
to rld’s search path, which was initially specified when the loadfile was linked; see The 
Link-Time-Defined Search Path of the Loader on page 2-16. To this path, other 
directories or subvolumes may be added at load time as follows.
On OSS, you can specify the following environmental variables:
EXPORT _RLD_FIRST_LIB_PATH=path1[:path2]...
EXPORT _RLD_LIB_PATH=path1[:path2]...
where path1, path2, etc. are the paths the loader is to search 
On Guardian, you can use the following Search Class Defines, specified according to 
the Guardian Programmers Guide.
 ADD DEFINE =_RLD_FIRST_LIB_PATH
 ADD DEFINE =_RLD_LIB_PATH










