Reference: cc
cc
/usr/ccs/bin/cc
[options] files-c-Dname[=def]-E-g-Idir-
Search for include files in directory dir (in addition to standard locations). Supply a
-Ifor each new dir to be searched. -lname-
Link source file with library files
libname.soorlibname.a. -Ldir-ofile-O-
-p-P-
Run only the preprocessor and place the result in file
.i. -S-
Compile (and optimize, if
-Ois supplied), but don't assemble or load; assembler output is placed in file.s. -Uname
Example
cc -o xpop xpop.c -lXaw -lXmu -lXt -lX11





