| -c |
Compiles only; does not attempt to
link source files. |
| -D name[=value] |
Is passed to C compiler to assign
the indicated value to the symbol name when the C
preprocessor is run. |
| -f float |
Specifies the floating point options
that the compiler and linker use. The following should be
supported:
-f - - no floating point required
-f - emulated floating point
-fp hardware floating point (using 80x87 coprocessor) |
| -Idir |
Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directories for multiple -I options are searched in the order specified. The
preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then
/usr/ucbinclude, and finally, in /usr/include. |
| -Ldir |
Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucbcc. This option is passed to /usr/ccs/bin/ld and
/usr/lib. Directories specified with this option are searched before
/usr/ucblib and /usr/lib. |
| -l library |
If linking, adds the indicated
library to the list of libraries to be linked. |
| -M |
If linking, creates a map file with
the same base name as the output executable, but with the suffix
.map. This map file contains a list of symbols with
their addresses. |
| -m model |
Specifies the memory model that the
compiler and linker use. The models may include:
| -ms |
small model |
| -mm |
medium model |
| -ml |
large model |
| -mf |
flat model (32-bit) |
| -mc |
compact model |
| -mh |
huge model |
|
| -o output |
If linking, places the executable
output in the file output. |
| -S |
Produces assembler listing with
source code. |
| -Uname |
Is passed to the C compiler, to undefined
the symbol name. |
| -Y P, dir |
Change the default directory used for finding libraries. |