Any input file name is valid. If the file name does not have
an extension, the extension .c
is assumed. As KAP
processes a C file, it generates four output files - the optimized
program file, the optional listing file, and the executable file.
The default output file names are as follows:
<file>_cmp.c
- the optimized C program from the
kcc
driver
<file>_cmp
- the optimized C program from
kapc
<file>.out
- the annotated KAP listing file
<file>.obj
- the object file
<file>.exe
- the executable file
Other output file names can be specified with the /cmp
and /list
qualifiers.
When KAP detects an error condition, KAP writes a message to standard error.