2.3 Compiling a Program Using the kcc Driver

The kcc command invokes a driver program that automatically calls KAP, C compiler, and the linker.

The kcc command specifies the C compiler qualifiers /optimize=(tune=host,level=4) and /ansi_ alias by default. The /optimize=(tune=host) qualifier causes the compiler to optimize to the host architecture. For example, if you want to optimize for the ev5 architecture but are compiling on an ev4 system, you should override the default setting of the /tune qualifier, as follows:

kcc  /optimize=(tune=ev4,level=4) myprog.c

Previous Page | Next Page | Contents | Index |
Command-Line Qualifiers

Copyright © Digital Equipment Corporation. 1999. All Rights Reserved.