Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cc_bsd(1) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld(1)

as(1)

ar(1)

cc(1)

ld(1)

lorder(1)

ranlib(1)

strip(1)

tsort(1)

a.out(4)

cc(1)  —  USER COMMANDS

NAME

cc − C compiler

SYNOPSIS

/usr/ucb/cc [ options ]

DESCRIPTION

/usr/ucb/cc is the C compiler for the BSD Compatibility Package.  The behavior of /usr/ucb/cc is identical to /usr/ccs/bin/cc (see cc(1)) except that BSD header files are used and BSD libraries are linked before System V libraries. 

/usr/ucb/cc accepts the same options as /usr/ccs/bin/cc, with the following exceptions:

−I dir 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. 

−L dir Add dir to the list of directories searched for libraries by /usr/bin/cc.  This option is passed to /usr/bin/ld.  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/ucblib

/bin/ld

/usr/ucblib/libucb.a

/usr/lib/libucb.a

NOTES

The −Y LU,dir option may have unexpected results, and should not be used.  This option is not in the UNIX System V base. 

SEE ALSO

ld(1), as(1), ar(1), cc(1), ld(1), lorder(1), ranlib(1), strip(1), tsort(1), a.out(4)

  —  BSD Compatibility Package

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026