
194
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Microengine C Compiler
5.3
Supported Option Switches
Table 4-1 lists and defines all the supported C Compiler command line switches. The CLI warns
and ignores unknown options. The CLI honors the last option if it conflicts with the previous one,
for example,
uccl -c -O1 -O2 file.c
generates the following warnings and proceeds:
uccl: Command line warning: overriding '-O1' with '-O2'
Options that do not take a value argument, such as -E, -c, etc., are off by default and are enabled
only if specified on the command line.
Table 8. Supported uccl CLI Option Switches (Sheet 1 of 4)
Switch
Definition
-?
-help
Lists all the available options.
-c
Compiles each .c or .i file to a .obj file (rather than compile and link).
-Dname[=value]
Specifies a #define symbol. The value, if omitted is 1.
-DSDK_3_0_COMPATIBLE
Uses the IXA SDK 3.0 version of the hash intrinsics (with the read and
write parameters swapped) and removes error checking for generic
("void *") typecasts in intrinsics library parameters. If possible, SDK 3.0
code should be changed to work with the new versions of the hash
intrinsics and any generic typecasts should be changed to the correct
types.
-E
-EP
-P
Preprocess to stdout.
Preprocess to stdout, omitting #line directives.
Preprocess to file.
-Fa<filename>
Produces a .uc file containing the generated microcode intermixed with
the source program lines. The resulting assembly file is for reference
only; the compiler does not guarantee that the file will pass through the
assembler. If an assembler-compatible file is required, the -uc option
should be used instead. This may have a negative impact on
performance, however; certain optimizations cannot be performed
when compiling for the assembler.
-Fo<file> -Fo<Dir/>
Name of object file or directory for multiple files.
-Fe<file>
Base name of executable (.list, .ind) file. Defaults to the base name of
the first file (source or object) specified on the command line followed
by the extension (.list).
-Fi<file>
Overrides the base name of the .ind file.
-FI<file>
Forces inclusion of file.
-Gx2400
-Gx2800
Specifies the target processor: IXP2400 and IXP2800. IXP2800 is the
default. The compiler adds -DIXP2400 and -DIXP2800 respectively.
-I path[;path2...]
Path(s) to include files, prepended before path(s) specified in
environment variable UCC_INCLUDE.