Specifications
14--2 Programmer’s Guide Sega
Psy-Q Development System
CCSH Command Line
Description CCSH.EXE is a utility that simplifies the process of running the separate 'C' compiler
passes and then assembling and linking the compiler output. Using CCSH you need
only specify the input files and what output format you require, and then CCSH itself
will execute the tools required to generate the output.
Syntax CCSH [options / filename[,filename...]]
The command line consists of a sequence of control options and source file names.
Options are preceded by a minus sign (-), and filenames are separated by commas.
Long command lines can be stored in separate control files. These can then be used
on the command line by using a ‘@’ sign in front of the control file name.
Options Control
-E Pre-process only. If no output file is specified output is send
to the screen.
-S Compile to assembler source
-c Compile to object file. If an output file is specified, then all output is
sent to this file. Otherwise it saved as the source file name with an
.OBJ extension.
Debug
-g... Generate debug information for source level debugging
Optimisation
-O0 No optimisation (default)
-O or -O1 Standard level of optimisation
-O2 Full optimisation
General
-W... Suppress all warnings
-Dname=val Define pre-processor symbol name, and optionally to the value
specified.
-Uname Undefine the pre-defined symbol name before pre-processing starts
-v Print all commands before execution
-f... Compiler option
-m... Machine specific option