11.2 ccap.exe
11.2.1 function
This tool produces a file from the messages output to the console (standard output or standard error) by other tools
or commands.
11.2.2 Output file
Message file
File format: Text file
File name:
<filename>.err
Description: This text file contains the tool messages saved through ccap.
11.2.3 Method for Using ccap
Startup format
ccap [<option>] <output file name> "<execution command>"
[ ] indicates the possibility to omit.
<output file name>:
<execution command>: Input the startup command of the tool to be executed.
Options
The following four types of startup options are provided for ccap:
-a
Function:
Add to an existing file
Explanation: If this option is specified, the output contents are added at the end of the specified file if it exists.
If the file does not exist, ccap creates a new file.
Default:
Unless this option is specified, the contents are overwritten to the specified file (if the file exists)
or (if the file does not exist) ccap creates a new file.
-o
Function:
Output only a file
Explanation: The messages of the executed command are output to a file only, and not output to the console.
Default:
Unless this option is specified, the messages are output to both console and file.
-c
Disable outputting execution command line
Function:
Explanation: If this option is specified, the execution command line is neither output to the console nor a file.
Default:
Unless this option is specified, the execution command line is output along with messages.
-e
Function:
Error count
Explanation: If this option is specified, ccap outputs the number of the error messages output by the executed
command. The messages counted are those which begin with the following character strings:
Error
Warning Count of the warning messages
Default:
Error messages are not counted.
When entering an option, you need to place one or more spaces before and after the option.
Example: c:\EPSON\gnu17\ccap -a -o -e Compile.err "xgcc -c -gstabs test.c"
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
Specify a file name to which the messages to be output.
Count of the error messages
EPSOn
11 OTHEr TOOlS
11
Tools
11-15
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers