Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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



NAME
     cc - C compiler

USAGE
     cc [ option ] ... file ...

DESCRIPTION
     Cc is the DOMAIN/IX command interface to the DOMAIN C com-
     piler.  Cc accepts several types of arguments.  It takes
     those with names ending in .c to be C source programs, com-
     piles them, and leaves each object program on the file whose
     name is that of the source with .o substituted for .c.  It
     usually deletes the .o file, however, if you simultaneously
     compile and load a single C program.

     Likewise, cc interprets arguments with names ending in .s as
     assembly source programs.  It assembles them and produces a
     .o file.

OPTIONS
     Cc takes the following options.  See ld (1) for link editor
     options.

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

     -g      Activate the -DBS option to the DOMAIN C compiler,
             which produces symbolic DEBUG information.

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

     -E      Run only the macro preprocessor on the named C pro-
             grams, and send the result to the standard output.

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

     -G      Activate the -NMGBL option to the DOMAIN C compiler.

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










Printed 8/4/85                                               CC-1





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



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

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

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

                  any             Generate code which uses only
                                  the basic instructions supported
                                  by the M68000.
                  160,460,660     Generate code which uses the
                                  additional instructions
                                  supported by the DNx60
                                  (except the DN560) and DSP160
                                  processors.
                  90,330,560      Generate code which uses the
                                  additional instructions
                                  supported by the DSP90, DN330,
                                  and DN560 processors.
                  m020            Generate code for a DSP90, DN330,
                                  and DN560 processor that does not
                                  have a floating-point processor chip.
                  PEB             Generate code for a Performance
                                  Enhancement Board.

     -Uname  Remove any initial definition of name, only on names
             made with the -D option.

     -Idir   Change the algorithm for searching for #include
             files whose names do not begin with a slash (/) to
             look in dir before looking in the directories on the
             standard list.  Thus, #include files whose names are
             enclosed in double quotes (`` '') will be searched
             for first in the directory of the file argument,
             then in directories named in -I options, and last in
             directories on a standard list.  For #include files
             whose names are enclosed in less-than/greater-than
             characters (< >), the directory of the file argument
             is not searched.

     -w      Suppress warning messages.

     -o name Define the name of the output even if only one
             source file is compiled and ld (1) is used.





CC-2                                               Printed 8/4/85





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



     Other arguments are taken to be either link editor option
     arguments, or C-compatible object programs, typically pro-
     duced by an earlier cc run, or perhaps libraries of C-
     compatible routines.  These programs, together with the
     results of any compilations specified, are linked (in the
     order given) to produce an executable program with the name
     a.out (unless the -o option is used).

     The C language standard was extended to include arbitrary
     length variable names.  This standard has been implemented
     on the VAX 3B 20S, and Apollo computers, but not on the
     PDP-11.  The option pair ``-Wp,-T -W0,-XT'' causes the
     current compiler (on the 3B 20S, VAX, and Apollo computers)
     to behave the same as previous compilers with respect to the
     length of variable names.

FILES
     file.c         input file
     file.o         object file
     a.out          linked output
     /usr/include   standard directory for #include files

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

RELATED INFORMATION
     cpp (1), ld (1).

     DOMAIN C Language Reference.
























Printed 8/4/85                                               CC-3



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