HP-UX 11i December 2001 Release Notes
Programming
Libraries
Chapter 13
213
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 "classical" C++ STL library
that corresponds to the pre-standard (Sept. 1998) definition of the C++ language and
library. The updated C++ runtime included for HP-UX 11i retains the classical C++
library functionality but 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:
• file:/opt/aCC/html/libstd_v2/stdug/index.htm
• file:/opt/aCC/html/libstd_v2/stdref/index.htm
which are available after installation of version A.03.25 or later of the aC++ product.
Over time, with the acceptance of the new library, it is expected that the old classic
library will be deprecated and possibly removed from some future operating system
release.
Detailed manpages for the new library is included with the Independent Software Unit
release. It is also discussed in the aC++ Online Help.
Impact
Overall (file) size of the C++ runtime will increase by about 44%, with 10 new libraries.
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.
The performance of the new library (iostreams) may be slower.
Compatibility Issues
C++ application (source and binary) forward compatibility with 11.x is fully maintained
by preserving the classic C++ library in the new runtime; 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.
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