HP-UX 11i Version 1.6 Release Notes

Commands and System Calls
MLIB 8.2
Chapter 6
81
Archive and Shared Libraries
HP MLIB 8.2 supports archive or shared libraries.
Application performance is better when archive libraries are used. However, if small
executable files are a necessity, shared libraries can be used on any Itanium system
running HP-UX 11i v1.5 or higher. This section outlines compiling and linking
information for the archive and shared libraries in HP MLIB 8.2.
Use the -aarchive_shared flag on your linker command line to ensure that the
linker links with archive libraries first. If the archive library is not available,
then it links with the shared library.
Use the -ashared_archive flag to preferentially link with shared libraries. If you
use neither -aarchive_shared nor -ashared_archive, the linker defaults to shared
libraries.
Impact
Size Requirements:
No memory requirements.
Compatibility
No compatibility issues.
Performance
No performance issues.
Obsolescence
Not applicable.
Table 6-1 Disk Space Size Requirements
OLD(8.1) NEW(8.2) Delta
hpux32: 66052 86411 20359
hpux64: 134560 178111 43551
pa2.0: 39652 42688 3036
pa20_64: 103904 112160 8256
include: 1468 1463 5