HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 20 (of 101)
Chapter 11 Software Development
October 29, 2013
$ chatr HelloWorld
HelloWorld:
shared executable
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
$
There are no library search paths and no library list, and a few other attributes related to shared
libraries are also missing, because they're useless in an archive bound program.
Linking archive can be useful if a program should run on systems independently of the runtime
environment installed there, or if it must be run very early in the boot process, where the /usr
file system might not be mounted yet. All Unix commands in /sbin are linked archive for that
reason. On the downside, such programs are unaffected by library updates which might bring
bug fixes etc., unless they are re-linked. Also, several features of HP-UX are available only in
shared libraries and cannot be used by these programs, such as:
NLS support (localization, i18n)
Dynamic name resolution services (DNS, NIS, LDAP etc.)*
* Dynamic username and group resolution still works if pwgrd(1) is running.