Running the Compiler
Use the following general syntax for the
cc219x [-switch [-switch ...]] sourcefile [sourcefile ...]
where:
•
-switch
has many switches. These switches select the operations and modes
for the compiler and other tools. Command-line switches are case
sensitive. For example,
•
sourcefile
assembled, and/or linked.
A file name can include the drive, directory, file name, and file
extension. The compiler supports both Win32- and POSIX-style
paths, using either forward or back slashes as the directory delim-
iter. It also supports UNC path names (starting with two slashes
and a network name).
The
cc219x
file contains and what operations to perform upon it.
page 1-10
For example, the following command line
cc219x -proc ADSP-2191 -O -Wremarks -o program.dxe source.c
runs
with the following switches:
cc219x
-proc ADSP-2191
-O
-Wremarks
-o program.dxe
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
is the name of the switch to be processed. The compiler
is not the same as
-O
is the name of the file to be preprocessed, compiled,
compiler uses the file extension to determine what the
lists the allowed extensions.
Specifies the processor
Specifies optimization for the compiler
Selects extra diagnostic remarks in addition to
warning and error messages
Selects a name for the compiled, linked output
command line:
cc219x
.
-o
Compiler
Table 1-2 on
1-7
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers