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

1 Getting Started with HP aC++
The information in this document applies to the release of HP aC++ and HP ANSI C
compilers version A.06.15 for the HP-UX 11i v3 operating system.
The HP ANSI C compiler supports ANSI programming language C standard ISO
9899:1999. HP aC++ compiler supports the ISO/IEC 14882 Standard for the C++
Programming Language (the international standard for C++).
Version A.06.25 of the HP aC++/HP C compiler provides leading edge support for
C++0x standard language features, with complete binary compatibility with earlier
releases and -AA compilation mode.
This chapter discusses the following topics:
“Components of the Compilation System” (page 29)
“Compiler Command Syntax and Environmental Variables” (page 31)
“Files on the aCC Command Line” (page 33)
“Environment Variables” (page 35)
“Floating Installation” (page 37)
Components of the Compilation System
The HP aC++ compiling system consists of the following components:
aCC
The aCC driver is the only supported interface to HP aC++ and to the linker
for HP aC++ object files.
cc cc is the HP-UX C compiler.
c89 c89 is the HP-UX ANSI-conforming C89 compiler.
c99 c99 is the HP-UX ANSI-conforming C99 compiler.
ecom The ecom compiler (for A.06.*) compiles the C++ source statements.
Preprocessing is incorporated into the compiler.
ctcom The ctcom compiler (for A.05.*) compiles the C++ source statements.
Preprocessing is incorporated into the compiler.
The other HP aC++ executable files are:
c++filt c++filt is the name demangler. It implements the name demangling
algorithm which encodes function name, class name, and parameter
number and name.
ld ld is the linker. It links executables and builds shared libraries.
HP aC++ Runtime Libraries and Header Files:
Standard C++ Library
/usr/lib/hpux32/libstd.so (32-bit shared version)
/usr/lib/hpux32/libstd.a (32-bit archive version)
/usr/lib/hpux64/libstd.so (64-bit shared version)
Components of the Compilation System 29