Developer's Topics
Chapter 11, Integrating applications into the Desktop

Graphical interface standards and libraries

Graphical interface standards and libraries

If your UNIX® application has a graphical interface, it must be able to run in an X Window System environment. The interface should be Motif-compliant, as defined by the OSF/Motif Style Guide (Revision 1.1).

It is possible to substantially reduce memory usage by using the X dynamically linked libraries. To take advantage of these performance improvements, use the -b elf option when you link your application to the libraries listed in Table 11-1. Refer to the Release Notes for further information about X11R5 and Motif 1.2 performance improvements. Refer to the next section ``Backward compatibility'' for information about running new binaries on previous or later versions of SCO systems. 

Table 11-1 Libraries to link with

 -----------------------------------------------------------------
 Library   Contains:
 -----------------------------------------------------------------
 Xt        Xt intrinsics
 Xm        Motif routines
 X11       X Window (Version 11) routines
 Xmu       X miscellaneous utilities
 malloc    faster version of memory allocation routines
 socket    socket interface routines
Refer to Chapter 2, ``C compilation system'' in the Programming Tools Guide for more information about standard COFF libraries, also known as archive libraries, and ELF dynamically linked libraries. For detailed information about shared libraries, see Chapter 14, ``Shared libraries'' in the Programming Tools Guide. Refer to the Release Notes for specific information about linking these libraries.