HP aC++/HP C A.06.25 Programmer's Guide

It is provided as HTML formatted files. You can view these files with an HTML browser
by opening the /opt/aCC/html/librwtool/ref.htm file.
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 244) 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/libCsup.so (the HP aC++ runtime support library)
/usr/lib/libstd.so (standard C++ library)
/usr/lib/libstream.so (iostream library)
/opt/aCC/lib/cpprt0.o (for an executable)
/opt/aCC/lib/shlrt0.o (for a shared library)
/opt/aCC/lib/cxxshl.o (routines used to create archived executables with
the +A option; used instead of libdld.so)
/opt/langtools/lib/crt0.o (start-up routines)
/usr/lib/libc.so (the HP-UX system library)
/usr/lib/libdld.so (routines to manage shared libraries)
/usr/lib/libcl.so (routines to handle exceptions)
/usr/lib/libm.so (math library)
Creating and Using Libraries 235