[next] [previous] [contents]

  21.2 System-Supplied Libraries
  If symbols are unresolved after the OpenVMS Linker (linker)
  searches all user-supplied libraries, the linker goes on to
  search the files in the default system library. The OpenVMS
  system supplies the following libraries:
  
TABLE: Click to display table.

  The linker searches modules in the following order:

  1. Modules and libraries specified in the LINK command
        line, in the order given
  2. User-supplied libraries (logicals of the form LNK$LIBRARY
        and LNK$LIBRARY_1 through LNK$LIBRARY_999)
  3. Images contained in IMAGELIB.OLB
  4. Modules contained in STARLET.OLB

  The linker only includes references to needed shareable
  images in the image being created. You can use the
  /NOSYSSHR qualifier to the LINK command to suppress
  the linker's search of RTL shareable images. Similarly, you
  can use the /NOSYSLIB qualifier to suppress the linker's
  search of both RTL shareable images and STARLET.OLB.

  The linker searches user-supplied libraries before search-
  ing the default system library. If one of your modules has
  the same name (program symbol) as an OpenVMS System
  Service or an RTL routine, the linker includes your module
  in the resulting image rather than the system service or RTL
  routine.