HP 3000 Manuals

Linking the X Client [ HP Motif/iX Programmer's Supplement ] MPE/iX 5.0 Documentation


HP Motif/iX Programmer's Supplement

Linking the X Client 
[REV BEG]

Now that the compiler has produced an object file, the object file can be
linked to the HP Motif/iX libraries.  To link the PIZZA application, type
the following at the POSIX.2 shell prompt:

     make PIZZA

When you type make PIZZA, the following is echoed to the screen:

     $c89 -L/usr/lib/Motif1.1 -L/usr/lib/X11R4 \
     -L/usr/lib/X11R4 -o PIZZA pizza.o -lXm -lXt -lX11

This command links the object file pizza.o with the HP Motif/iX libraries
(libXm.a, libXt.a, libX11.a) creating the program file PIZZA. The object
file is also automatically linked to POSIX/iX C library /lib/libC.a,,
which contains standard C functions used by the HP Motif/iX libraries.

See MPE/iX Developer's Kit Reference Manual, Volume 1 (36430-90001) and
MPE/iX Shell and Utilities Reference Manual, Volume 1 (36431-90001) for
more information.[REV END]



MPE/iX 5.0 Documentation