Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 24
hp e3000
programming
and posix
linking with system libraries
libc is included in link by default
shell/iX> gcc -o hwcgi hwcgi.c
System libraries located in /lib and /usr/lib
libc, libsvipc are in /lib
libsocket is in /usr/lib
System libraries exist in both archive and shared form
(as of MPE 6.0). During link,
NMRL archive library (.a suffix) merged into
program
NMXL shared library (.sl suffix) is NOT merged