HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
HP aC++ Runtime Support Library
The HP aC++ runtime support library is provided as a shared library, /usr/lib/
libCsup.so and as an archive library, /usr/lib/libCsup.a.
The library supports the following functionality:
• Exception Handling
• Memory Management (operators new and delete)
• Start and termination of a C++ program
• Runtime type identification (type_info)
• Static object constructors and desctructors
See “HP aC++ Runtime Libraries and Header Files” (page 233) for more information.
IOStream Library
In this release of HP aC++, the standards based iostream capabilities of the Standard
C++ Library are still evolving. As a result, an HP C++ (cfront) compatible IOStream
library is provided.
Standard Components Library Not Provided
The Standard Components Library is not provided with the HP aC++ compiler for Integrity
servers. HP recommends that you use the similar features of the Standard C++ Library
in place of the Standard Components Library.
Linking to C++ Libraries
You can compile and link any C++ module to one or more libraries. HP aC++
automatically links the following libraries with a C++ executable.
• /usr/lib/hpux##/libCsup.so (the HP aC++ runtime support library)
• /usr/lib/hpux##/libstd_v2.so (standard C++ library: -AA)
• /usr/lib/hpux##/libc.so (the HP-UX system library)
• /usr/lib/hpux##/libdl.so (routines to manage shared libraries)
• /usr/lib/hpux##/libunwind.so (routines to unwind exceptions)
• /usr/lib/hpux##/libm.so (math library)
224 Tools and Libraries