|KCC||a multi-platform, optimizing, standard C++ compiler|
KCC" is the top level driver for the KAI C++ compiler.
It can generate intermediate C, object, executable or library files. KCC implements
the ISO standard C++ language, including templates,
exception handling and the standard (templated) class library.
KCC is the first compiler specifically designed to optimize C++. It allows object-oriented programming to be pursued without the performance penalty normally associated with C++. For further information, refer to the KAI C++ User's Guide and the KAI C++ home page.
KCC determines the type of processing needed for a file based upon its extension.
|source code||.c .C .cc .cpp .CPP .cxx .CXX|
|shared library||.so||(on most systems)|
|.sl||(on HP-UX systems)|
KCC uses several components to complete the compilation of a C++ program. When a source code file is compiled, the file is first processed by a front-end processor, which performs high-level C++ optimizations, and then generates a C intermediate file. This C file is then compiled by the target machine's C compiler to generate an object file. When an executable program or an object library is desired, the object and library files are processed to handle template instantiation and static object initialization. The target machine's linker is used to form an executable program. A target machine specific process is followed to build the appropriate type (static or shared) of object library. All of this is, of course, handled by KCC, the KAI C++ compiler driver, and is not normally visible to the user.
KCC is available on many platforms. If you want your makefiles to be simple and portable, use KCC's platform independent command line options (for Cray T3E and Hitachi SR-2201, see below). If you require complete control, KCC also provides platform specific, command line options. The options supported on each platform are:
Ratings, in the style of motion picture ratings, offer some guidance about option use. All users should become familiar with the general purpose G-rated options. You are also warned away from a changing set of documented, but otherwise unsupported options.
The man page for the target machine's C compiler (cc), loader (ld) and static archive builder (ar).
The KAI C++ User's Guide
The KAI C++ Documentation Set