Keil Logo

Command Prompt

To invoke the C251 Compiler, enter C251 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:

C251 sourcefiledirectives...〛
C251 @commandfile

Where

sourcefile Is the name of the source program you want to compile.
directives Are directives that control the operation of the compiler. Refer to Directives for a detailed list of the available directives.
commandfile Is 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 maximum size of the command input file is limited to 64KB.

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

C251 SAMPLE.C DEBUG CODE PREPRINT

The C251 Compiler displays the following information upon successful compilation.

C251 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.