Oracle® Solaris 11.2 Linkers and Libraries Guide

Exit Print View

Updated: July 2014

Dynamic Mode

Dynamic mode is the default mode of operation for the link-editor. It can be enforced by specifying the –d y option, but is implied when not using the –d n option.

Under this mode, relocatable objects, shared objects and archive libraries are acceptable forms of input. Use of the –l option results in a directory search, where each directory is searched for a shared object. If no shared object is found, the same directory is then searched for an archive library. A search only for archive libraries can be enforced by using the –B static option. See Linking With a Mix of Shared Objects and Archives.