VMS Help  —  CC  Link libraries
  The following describes how to link with the VSI C Run-Time Library
  (RTL).

  On I64 systems, you link to the VSI C RTL by using the C RTL
  shareable image IA64$LIBRARY:DECC$SHR.EXE, which the linker
  automatically finds through IMAGELIB.OLB.

  Because DECC$SHR.EXE has only prefixed names (no unprefixed names),
  to successfully link against it, make sure you cause prefixing to
  occur for all VSI C RTL entry points.  Do this by compiling in one
  of two ways:

  1.  Compile with the /PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES qualifier.

  2.  Compile with the /STANDARD=VAXC or /STANDARD=COMMON qualifier.
      You get /PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES as the default.

  After making sure that all VSI C RTL entry points are prefixed,
  link against the shareable image using the LINK command.  For
  example:

  $ CC/DECC/PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES PROG1
  $ LINK PROG1

  The linker automatically searches IMAGELIB.OLB to find
  DECC$SHR.EXE, and resolves all C RTL references.
Close Help