cc(1B)
NAME
cc − C compiler
SYNOPSIS
/usr/ucb/cc [ options ]
AVAILABILITY
SUNWscpu
DESCRIPTION
/usr/ucb/cc is the C compiler for the BSD Compatibility Package. /usr/ucb/cc is identical to /usr/bin/cc except that BSD headers are used BSD libraries are linked before base libraries.
OPTIONS
/usr/ucb/cc accepts the same options as /usr/bin/cc, with the following exceptions:
−Idir Search dir for included files whose names do not begin with a ‘/’, prior to 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/bin/cc. This option is passed to /usr/ccs/bin/ld and /usr/css/lib. Directories specified with this option are searched before /usr/ucblib and /usr/lib.
−Y LU, dir Change the default directory used for finding libraries.
FILES
/usr/ccs/bin/ld
/usr/lib/libc.a
/usr/ucblib
/usr/ucblib/libucb.a
SEE ALSO
ar(1), as(1), ld(1), lorder(1), strip(1), tsort(1), a.out(4)
NOTES
The −Y LU, dir option may have unexpected results, and should not be used.
SunOS 5.1/SPARC — Last change: 14 Sep 1992