


      CCCCCCCC((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCCCCC((((1111))))



      NNNNAAAAMMMMEEEE
           cc, pcc - C invoker

      SSSSYYYYNNNNTTTTAAAAXXXX
           cccccccc [ option ] ... file1 [file2] ...

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _C_c compiles, optimizes, assembles, and links programs
           yielding executable code.

           _f_i_l_e....cccc is assumed to a C source file.  Each ....cccc file is
           compiled, and the resulting object file is given the name of
           the source with ....oooo substituted for the ....cccc. The
            ....oooo file is normally removed, however, if a single C program
           is compiled and loaded in one go.

           _f_i_l_e....ssss is assumed to be an assembly source file.  Each ....ssss
           file is assembled and put into an object file named _f_i_l_e.o.

           The following options are interpreted by _c_c and _p_c_c.  See
           _l_d(1) for link editor options and _c_p_p(1) for more
           preprocessor options.

           ----aaaa      Do not automatically convert operands of type float
                   to type double in arithmetic expressions.  This
                   results in using single-precision arithmetic
                   operators when evaluating expressions with operands
                   of type float, and double-precision operators when
                   evaluating expressions with operands of type double.
                   Any module using functions declared with float or
                   double formal parameters that is compiled without
                   this option actually expects doubles.  Before
                   passing floats to stdio and math library functions,
                   cast them to type double.

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

           ----pppp      (NOT CURRENTLY IMPLEMENTED) Arrange for the compiler
                   to produce code which counts the number of times
                   each routine is called; also, if link editing takes
                   place, replace the standard startoff routine by one
                   which automatically calls _m_o_n_i_t_o_r(3C) at the start
                   and arranges to write out a mmmmoooonnnn....oooouuuutttt file at normal
                   termination of execution of the object program.  An
                   execution profile can then be generated by use of
                   _p_r_o_f(1).

           ----ffff      allow the C program to call Pascal and FORTRAN
                   routines




      Page 1                                                   (9010-E)






      CCCCCCCC((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCCCCC((((1111))))



           ----OOOO      Invoke an object-code optimizer.

           ----SSSS      Compile the named C programs, and leave the
                   assembler-language output on corresponding files
                   suffixed ....ssss.

           ----EEEE      Run only _c_p_p(1) on the named C programs, and send
                   the result to the standard output.

           ----PPPP      Run only _c_p_p(1) on the named C programs, and leave
                   the result on corresponding files suffixed ....iiii.

           ----BBBB_s_t_r_i_n_g
                   Construct pathnames for substitute compiler,
                   assembler and link editor passes by concatenating
                   _s_t_r_i_n_g with the suffixes ccccpppppppp, cccc0000 (or ccccccccoooommmm or ccccoooommmmpppp,
                   see under FILES below), cccc1111, cccc2222, aaaassss and lllldddd.  If
                   _s_t_r_i_n_g is empty it is taken to be ////lllliiiibbbb////oooo.

           ----tttt[pppp000011112222aaaallll]
                   Find only the designated compiler, assembler and
                   link editor passes in the files whose names are
                   constructed by a ----BBBB option.  In the absence of a ----BBBB
                   option, the _s_t_r_i_n_g is taken to be ////lllliiiibbbb////nnnn.  ----tttt "" is
                   equivalent to ----ttttpppp000011112222.

           ----WWWW_c,_a_r_g_1[,_a_r_g_2...]
                   Hand off the argument[s] _a_r_g_i to pass _c where _c is
                   one of [pppp000011112222aaaallll] indicating preprocessor, compiler
                   first pass, compiler second pass, optimizer,
                   assembler, or link editor, respectively.

           Other arguments are taken to be either link editor option
           arguments, C preprocessor option arguments, or C-compatible
           object programs, typically produced by an earlier _c_c 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 aaaa....oooouuuutttt.

      FFFFIIIILLLLEEEESSSS
           file.c    input file
           file.o    object file
           a.out     linked output
           /tmp/ctm* temporary
           /lib/cpp  C preprocessor _c_p_p(1)
           /lib/ccom Ridge C compiler, _c_c
           /lib/c2   optional optimizer
           /lib/oc*  (a name strating with "oc") backup compiler, _o_c_c
           /lib/nc*  (a name starting with "nc") test compiler, _n_c_c
           /bin/as   assembler, _a_s(1)
           /bin/ld   link editor, _l_d(1)



      Page 2                                                   (9010-E)






      CCCCCCCC((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCCCCC((((1111))))



           /lib/crt0.o
                     runtime startoff
           /lib/mcrt0.o
                     startoff for profiling (NOT CURRENTLY AVAILABLE)
           /lib/libc.a
                     standard library, see (3)

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           _T_h_e _C _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e by B. W. Kernighan and D. M.
           Ritchie.
           _R_i_d_g_e _C _P_r_o_g_r_a_m_m_i_n_g _N_o_t_e_s (_9_0_1_4).

           adb(1), cpp(1), as(1), ld(1), prof(1), sdb(1), monitor(3C).










































      Page 3                                                   (9010-E)



