Keil™, An ARM® Company

CARM User's Guide

Discontinued

Command Prompt

To invoke the CARM Compiler, enter CA at the command prompt. You must include the name of the C source file to be compiled and any required control directives on the command line. The format for the command line is:

CA sourcefile « directives... »
CA @commandfile

Where

sourcefileIs the name of the source program you want to compile.
directivesAre directives that control the operation of the compiler. Refer to Directives for a detailed list of the available directives.
commandfileIs the name of a command input file that may contain the sourcefile and directives. A commandfile is commonly used when the compiler command line is complex or exceeds the limits of the Windows command prompt.

The following command line example invokes the CARM Compiler, specifies the source file SAMPLE.C, and uses the DEBUG, CODE, and PREPRINT directives.

CA SAMPLE.C DEBUG CODE PREPRINT

The CARM Compiler displays the following information upon successful compilation.

CA COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)