User guide

C-51
Compile-Time Options
-c
Tells VCS to compile the source files, generate the intermediate
C, assembly, or object files, and compile or assemble the C or
assembly code, but not to link them. Use this option if you want
to link by hand.
-lname
Links the name library to the resulting executable. Usage is the
letter l followed by a name (no space between l and name). For
example: -lm (instructs VCS to include the math library).
-syslib libs
Specifies system libraries. For example -syslib -ly -lc
includes the machine-specific system libraries. Normally, libs
entered on the vcs command line using -lname option are placed
in front of libvcs.a on the link line. The -syslib option tells VCS
to place the specified libs after libvcs.a on the link line.
Options for Controlling the C Compiler
-gen_c
Generates C language code. This is the default in IBM RS/6000
AIX.
-cc compiler
Specifies an alternate C compiler
-CC options
Passes options to the C compiler or assembler.
-CFLAGS options
Pass options to C compiler. Multiple -CFLAGS are allowed. Allows
passing of C compiler optimization levels. For example, if your C
code, test.c, calls a library file in your VCS installation under
$VCS_HOME/include, use any of the following CFLAGS option