Man Page
 User's Guide


 Name   Synopsis   Description   Command-Line Options   See Also

 NAME  KCC - a multi-platform, optimizing, draft-standard C++ compiler
 SYNOPSIS  KCC [ options ] filenames

KCC is the top level driver for the KAI C++ compiler. It can generate intermediate C, object, or executable files. KCC is a full draft-standard C++ implementation, including templates, exception handling and a complete draft-standard class library.

KCC is designed as a C++ optimizer. It is intended to allow the programmer to use C++ features without the performance penalty normally associated with C++. For further information, refer to the KAI C++ User's Guide or the KAI C++ home page.

KCC determines the type of processing needed for a file based upon its extension.

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. KCC provides platform independent command line options for those that desire simple, portable, makefiles. For those that require complete control, KCC also provides additional, platform specific, command line options for these platforms:



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

Copyright © 1996-1998. All rights reserved.

E-Mail KAI Technical Support   E-Mail KAI   Contact KAI   

This file last updated on 17 March 1997.