z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DLL support for the X Window System

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The X Window System and Motif functions are provided as a set of archive files for applications that are statically linked and as a set of DLLs for applications that are dynamically linked. Dynamic linkage is recommended; it results in application binaries that are much smaller. All applications linked using these DLLs must be compiled with the DLL option. The examples shown in Compiling and linking Motif and X Window System applications assume that c89 is using the z/OS® C/C ++ Compiler.

Three sets of DLLs are provided. The first set ensures compatibility with applications compiled with previous releases of the X Window System and Motif. For this set of DLLs applications must be compiled in 31-bit mode with the DLL option; applications cannot be compiled with XPLINK. These DLLs are unchanged from the previous release and are compiled with IBM® hexadecimal floating point support. New or changed applications should be migrated to the new X11R6.6 and Motif 2.1.30 versions of the libraries.

The following DLLs are provided to support applications that require X11R6.1 and Motif 1.2 function. These libraries are provided to ensure compatibility of applications written for previous releases of z/OS.
  • X11.dll (contains the contents of libX11.a, libXau.a, liboldX.a, and libXext.a)
  • SM.dll (contains the contents of libSM.a)
  • ICE.dll (contains the contents of libICE.a)
  • PEX5.dll (contains the contents of libPEX5.a)
  • Xaw.dll (contains the contents of libXaw.a, libXmu.a, and libXt.a)
  • Xm.dll (contains the contents of libXm.a and libXt.a)
  • Mrm.dll (contains the contents of libMrm.a)
  • Uil.dll (contains the contents of libUil.a)
The second set of DLLs provides X11R6.6 and Motif 2.1 function. To use this set of DLLs, the application must be compiled in 31-bit mode, with the DLL option and the XPLINK option. This set of DLLs is compiled with IEEE floating point support. These DLLs do not support applications compiled with enhanced ASCII support. The PEX5 library is no longer supported with these DLLs.
  • X11_31.dll (contains the contents of libX11.a, libXau.a, liboldX.a, libXext.a, and libXp.a)
  • SM_31.dll (contains the contents of libSM.a)
  • ICE_31.dll (contains the contents of libICE.a)
  • Xaw_31.dll (contains the contents of libXaw.a, libXmu.a, and libXt.a)
  • Xm_31.dll (contains the contents of libXm.a and libXt.a)
  • Mrm_31.dll (contains the contents of libMrm.a)
  • Uil_31.dll (contains the contents of libUil.a)
The third set of DLLs provides X11R6.6 and Motif 2.1 function in 64-bit addressing mode. To use this set of DLLs, the application must be compiled in 64-bit mode, with the DLL option and the XPLINK option.
  • X11_64.dll (contains the contents of libX11.a, libXau.a, liboldX.a, libXext.a, and libXp.a)
  • SM_64.dll (contains the contents of libSM.a)
  • ICE_64.dll (contains the contents of libICE.a)
  • Xaw_64.dll (contains the contents of libXaw.a, libXmu.a, and libXt.a)
  • Xm_64.dll (contains the contents of libXm.a and libXt.a)
  • Mrm_64.dll (contains the contents of libMrm.a)
  • Uil_64.dll (contains the contents of libUil.a)

All DLLs, along with their sidedecks (.x), are symbolically linked from /usr/lib.

Rules:
  • An application must use only one set of DLLs. You cannot mix 31-bit and 64-bit DLLs. An application should not attempt to mix old- and new-function DLLs.
  • An application should use either the static libraries or the dynamic libraries, not both.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014