Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cc(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld(1)



CC(1)                    DOMAIN/IX SYS5                     CC(1)



NAME
     cc - C compiler

USAGE
     cc [ options ] ... file ...

DESCRIPTION
     Cc is the DOMAIN/IX C compiler.  It interprets arguments
     with names ending in .c as C source programs, compiles them,
     and leaves each object program on the file whose name is
     that of the source with .o substituted for .c.  Cc normally
     deletes the .o file, however, if a single C program is com-
     piled and loaded simultaneously.

     The DOMAIN/IX C compiler is really an interface to the
     DOMAIN C compiler.  Not all standard UNIX options are avail-
     able.  Furthermore, some unique options are provided by the
     DOMAIN C compiler.  The various options that can be used
     with cc are listed below.  Any other arguments are taken to
     be either loader option arguments, or C-compatible object
     programs, typically produced by an earlier cc run, or
     perhaps libraries of C-compatible routines.  These programs,
     together with the results of any compilations specified, are
     loaded (in the order given) to produce an executable program
     named a.out.  See ld(1) for load-time options.  Also refer
     to the DOMAIN C Language Reference for general information.

OPTIONS
     -c        Suppress the loading phase of the compilation and
               force an object file to be produced, even if only
               one program is compiled.

     -w        Suppress warning diagnostics.

     -O        Activate the -OPT option to the DOMAIN C compiler.

     -Bname    Prefix pathname to cc and bind for substitute com-
               piler and binder passes.  If name is empty it is
               taken to be /usr/lib/o.

     -t[p0l]   Find only the preprocessor (p), compiler passes
               (0), or binder (l) in the files whose names are
               constructed by a -B option. In the absence of a -B
               option, the name is taken to be /usr/lib/n.  The
               value -t "" is equivalent to -t0l.

     -Wc,arg1,[arg2...]
               Hand off the arguments argi to pass c where c is
               one of [p0l] indicating the pre-processor, com-
               piler or the binder.



Printed 12/4/86                                              CC-1







CC(1)                    DOMAIN/IX SYS5                     CC(1)



     -E        Run only the macro preprocessor on the named C
               programs, and send the result to the standard out-
               put.

     -P        Run only the macro preprocessor on the named C
               programs, and leave the result on corresponding
               files suffixed with .i.

     -o output Name the final output file output.  Leave the
               a.out file undisturbed.

     -Dname=def
     -Dname    Define the name to the preprocessor, as if by
               #define.  If no definition is given, define the
               name as ``1''.

     -Mid      Generate code for a particular class of processor.
               Values for id are:

                    any       standard M68000 code

                    160
                    460
                    660       DSP160, DN460, DN 660 code

                    90
                    330
                    560
                    570
                    580
                    3000      DSP90, DN330, DN560, DN570, DN580,
                                      DN3000 code

                    PEB       Performance Enhancement Board

     -Uname    Remove any initial definition of name.

     -Idir     Seek #include files with names not beginning with
               a slash (/).  Look first in the directory of the
               file argument; then in directories named in -I
               options; and finally, in directories on a standard
               list.

     -Tsystype Define the target system type (systype) for the
               compiled object.  Systype may be one of

                    any       version independent
                    bsd4.1         BSD4.1 UNIX (AUX SR8)
                    bsd4.2         BSD4.2 UNIX (DOMAIN/IX bsd4.2)
                    sys3      UNIX System III (AUX SR8)



CC-2                                              Printed 12/4/86







CC(1)                    DOMAIN/IX SYS5                     CC(1)



                    sys5      UNIX System V (DOMAIN/IX sys5)

     -g        Turn on the -DBS option to the DOMAIN C compiler.
               This produces symbolic debug information.

     -p        Not supported.

     -f        Not supported.

     -S        Not supported.

CAUTIONS
     The compiler currently ignores advice to put char, unsigned
     char, short, or unsigned short variables in registers.  It
     previously produced poor, and in some cases incorrect, code
     for such declarations.

FILES
     file.c         input file
     file.o         object file
     a.out          loaded output
     /usr/lib/cc      AEGIS C compiler
     /usr/lib/bind   AEGIS binder
     /usr/lib/cpp    AEGIS C pre-processor

DIAGNOSTICS
     The diagnostics produced by C itself are intended to be
     self-explanatory.  Occasional messages may be produced by
     the loader.

RELATED INFORMATION
     ld(1).

COMMENT
     The AEGIS C pre-processor (/usr/lib/cpp) is envoked only if
     p is given in a -t or -W switch.  The -W is a legitimate
     special case indicating that /usr/lib/cpp should be run.  If
     -p is not given, the C pre-processor in /usr/lib/cc is run.















Printed 12/4/86                                              CC-3





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