HP-UX 11i June 2002 Release Notes
Programming
Libraries
Chapter 15
255
Libraries
aC++ Runtime (libCsup*, libstd*, libstream*, librwtool*)
new at 11i
original release
The aC++ runtime provides the run-time environment necessary for deploying C++
based (aC++ compiled) applications on HP-UX 11i.
This release of the aC++ runtime includes a new ANSI-compliant Standard C++ library.
(The previous version of the runtime included the “classic” C++ STL library that
corresponded to the pre-standard [Sept. 1998] definition of the C++ language and
library.) Although the updated C++ runtime included for HP-UX 11i retains the “classic”
C++ library functionality, it also includes new components (libstd_v2 and libCsup_v2)
that introduce a standard-compliant set of C++ interfaces, as required by the ISO/IEC
14882 Standard for the C++ Programming Language.
The added components, libstd_v2 and libCsup_v2, are new libraries with functionality
that did not exist prior to this release of the C++ runtime. The details of the newly added
libraries are covered in the following files (which are available after installation of the
aC++ product, version A.03.25 or later):
• file:/opt/aCC/html/libstd_v2/stdug/index.htm
• file:/opt/aCC/html/libstd_v2/stdref/index.htm
Over time, with the acceptance of the new library, the old, “classic” library is expected to
be deprecated and possibly removed from future operating system releases.
Impact
Overall (file) size of the C++ runtime will increase by about 44%, with 10 new libraries.
This release provides access to the standard compliant C++ library for application
developers (and deployment of such applications). This is by far the most heavily
requested enhancement by the users of the aC++ compiler. However, the performance of
the new library (iostreams) may be slower.
Compatibility
C++ application (source and binary) forward compatibility with 11.x is fully maintained
by preserving the classic C++ library in the new runtime. Therefore, source files, build
systems, and object files or libraries produced under HP-UX 11.0 with the previous
version of C++ runtime should continue to work under the new runtime.
However, the new libraries are binary incompatible with the classic C++ libraries. The
option -AA must be used to enable the new libraries and headers.
To preserve backward source and runtime compatibility from HP-UX 11i to 11.0,
application developers who develop C++ applications with the use of the new standard
C++ library must ensure that the June 2000 Application Release-dependent C++ library
patches (specified below) are applied to the 11.0 system.
The C++ library and Header File patches PHSS_21906, PHSS_21947, PHSS_21950,
PHSS_21075, and PHSS_22217 are shown at the following web site, now a part of the
Developer and Solution Partner Portal:
http://devresource.hp.com/devresource/Tools/lang.html