[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


B.5 Linking OpenVMS Images

When you link an image that calls DECthreads routines, you must link against the appropriate images. These images are listed in Table B-2.

Table B-2 DECthreads Images



Image                 Routine Library

pthread$rtl.exe       POSIX 1003.1c Standard Interface

cma$tis_shr.exe       Thread Independent Services

cma$lib_shr.exe       CMALIB interface (CMA$)

cma$rtl.exe           CMA$ interface

cma$open_lib_shr.exe  CMALIB interface (CMA_)

cma$open_rtl.exe      CMA_, Draft 4 and Draft 4 exception interface



PTHREAD$RTL.EXE, CMA$TIS_SHR.EXE, CMA$RTL.EXE, and CMA$LIB_SHR.EXE are included in the IMAGELIB library, making it unnecessary to specify those images (unless you are using the /NOSYSLIB with the linker) in a Linker options file.

When you link an image that utilizes the CMA$OPEN_LIB_SHR.EXE and CMA$OPEN_RTL.EXE images, they must be specified in a Linker options file.

DECthreads is supplied only as shareable images. It is not supplied as object libraries.



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]