HP-UX SNAplus2 MS Programmer's Guide
Writing MS Applications
Compiling and Linking the MS Application
Chapter 248
have been built with previous versions of SNAplus or SNAplus2 on
PA-Risc systems. These libraries are on /opt/sna/lib or
/opt/sna/lib/pa20_64. There are multiple copies of some libraries to
support different levels of the interfaces.
Linking Motif Applications and Applications That Use
Application Scheduled Mode
Link with the following options:
-L /opt -lms -lsna
NOTE Check your Motif documentation for information on which libraries and
other options are required to link your Motif application.
Linking Multithreaded Applications
For HP-UX operating systems, linking options depend on the version of
the operating system:
• For HP-UX 10.20 (only DCE threads are supported), link with the
following options:
-L /opt -lms -lmgrdce -ldce
• For HP-UX 11.0 using DCE threads, link with the following options:
-L /opt -lms -lsna -ldce
• For HP-UX 11.0 using Kernel threads, link with the following
options:
-L /opt -lms -lsna -lpthread