Getting Up and Running



Table of Contents      

Introduction

Getting Up and Running

 

Debugging

New C++ Features

 

External Interface   

Tutorials

Man Page

FAQ   


 

Dealing with the License Managers

You may obtain the right to use KAI C++ by purchasing a license from Kuck & Associates, Inc. or by taking part in an evaluation program. The rights you have to use KAI C++ vary with the type of license you obtain.

A license from KAI is transmitted via e-mail. This e-mail message contains a URL that provides license manager specific installation instructions. These URLs are:

License Type Instructions
  Per Seat      http://www.kai.com/license-managers/FLEXlm.html  
  Personal Use      http://www.kai.com/license-managers/PersonalUse.html  
  Unlimited Users  
  Node-Locked  
   http://www.kai.com/license-managers/KAIcodekey.html  

 

Compiling a Simple Program

A small collection of example programs is provied in the KCC_BASE/examples subdirectory of the KAI C++ installation. The Hello, World program is the file Hello.C.

The simplest way to invoke KAI C++ is the following:

    KCC hello.C

This command compiles and links the program hello.C. KCC recognizes options common to most UNIX C/C++ compilers such as -c and -o.

Optimization

When compiling object files, use the +K0 option when debugging, and use the +K3 -O options for better performance. The +K options control front-end optimization, which are language-specific optimizations. The -O options control back-end optimization, which are architecture-specific optimizations. Using front-end optimizations without the back-end optimizations is usually pointless. Front-end optimization levels above +K1 can significantly increase compilation time. Depending upon your coding style and machine, the higher levels may not help at all or may speed up your code by better than 2x. You will have to experiment to find out.

Link Compatibility

KAI C++ is link compatible with other C compilers. KAI C++ is not link compatible with other C++ compilers. This means that all of the C++ code in your program must be compiled with KAI C++.


Next Section         Copyright © 1996-1999. All rights reserved.

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

This file last updated on 22 July 1999.