VMS Help  —  CC  /PREFIX_LIBRARY_ENTRIES
  Controls the VSI C RTL name prefixing.

  The VSI C Run-Time Library (RTL) shareable image (DECC$SHR.EXE)
  resides in IMAGELIB.OLB with a DECC$ prefix for its entry points.
  Every external name in IMAGELIB.OLB has a DECC$ prefix, and,
  therefore, has an OpenVMS conformant name space (a requirement for
  inclusion in IMAGELIB).  The /[NO]PREFIX_LIBRARY_ENTRIES qualifier
  lets you control the VSI C RTL name prefixing.

  The qualifier options are:

  EXCEPT=(name,...)    The names specified are not prefixed.

  ALL_ENTRIES           All C RTL names, as well as C99 names not
                        supported by the underlying C RTL, are
                        prefixed.

  ANSI_C89_ENTRIES     Only ANSI library names are prefixed.

  C99_ENTRIES           Only ISO C Standard 99 (C99) library names
                        are prefixed.  These are a superset of the
                        external names prefixed under
                        /PREFIX=ANSI_C89_ENTRIES and a subset of
                        those prefixed under /PREFIX=ALL_ENTRIES.

                        Note:  The compiler prefixes C99 entries
                        based on their inclusion in the standard, not
                        on the availability of their implementations
                        in the run-time library.  So calling
                        functions introduced in C99 that are not yet
                        implemented in the VSI C RTL will produce
                        unresolved references to symbols prefixed by
                        DECC$ when the program is linked.  In
                        addition, the compiler issues a
                        CC-W-NOTINCRTL message when it prefixes a
                        name that is not in the current C RTL.

  RTL="name"            Generates references to the C RTL indicated
                        by the "name" keyword.  If no keyword is
                        specified, then references to the VSI C RTL
                        are generated by default.  To use an
                        alternate RTL, see its documentation for the
                        name to use.

  If you want no names prefixed, specify /NOPREFIX_LIBRARY_ENTRIES.

  For /STANDARD=ANSI89, the default is /PREFIX=ANSI_C89_ENTRIES.

  For /STANDARD=C99, the default is /PREFIX=C99_ENTRIES.

  For all other compiler modes, the default is /PREFIX=ALL.
Close Help