Sun WorkShop Compiler C 5.0 User's Guide

Option Syntax

The syntax of the cc command is:

% cc [options] filenames [libraries]...

where:

See option -YP, dir to change the default directories used for finding libraries. dir is a colon-separated path list. The default library search order for cc is:

/opt/SUNWspro/SC5.0/lib

/usr/ccs/lib

/usr/lib

cc uses getopt to parse command-line options. Options are treated as a single letter or a single letter followed by an argument. See getopt(3c).