Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 23
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