cc (1) --- compile a C program 10/10/84 | _U_s_a_g_e | cc [] [-afy] | {-D[=] | -I} | [-b[]] | [-s[]] | [-u] | _D_e_s_c_r_i_p_t_i_o_n | 'Cc' compiles the C program in . It is an error | to invoke 'cc' without a path name. The ".c" suffix on the | source file name is optional, although 'cc' requires that | the source code reside in a file named with a ".c" suffix. | If the source file name specified in does not | have a ".c" suffix, 'cc' will append a ".c" and attempt to | process a file with that name. The object code is stored in | ".b". | A full description of the C language is beyond the scope of | this document. For complete information, refer to _T_h_e _C | _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e by Brian W. Kernighan and Dennis M. | Ritchie (Prentice-Hall, 1978). | The following options are available: | -a Abort all active shell programs if any errors were | encountered during processing. This option is | useful in shell programs like 'ccl' that wish to | inhibit compilation and loading if processing | failed. By default, this option is not selected; | that is, errors in processing do not terminate | active shell programs. | -b Compile the source code into the object file named | "". 'Cc' effectively ignores this | option if is unspecified. | -f Suppress automatic inclusion of standard | definitions file. Macro and common block | definitions for the C Standard I/O Library and | interfacing with the Subsystem reside in the file | "=cdefs=". 'Cc' will process these definitions | automatically, unless the "-f" option is | specified. | -s Compile the source code into a PMA file named | "". The object code will be left in a | file named ".b" (".s" suffix replaced | by ".b"). If is not specified, 'cc' | places the compiler output in ".s" and | the object module in ".b". The | "" will over-ride any path name given | to the "-b" option. In addition, 'cc' will _a_l_w_a_y_s | use 'vcg' to generate binary. cc (1) - 1 - cc (1) cc (1) --- compile a C program 10/10/84 | -u Reserved. | -y Check for potential problems, e.g. type mis- | matches. (This is similar in purpose to the Unix | 'lint' program.) | -D Defines the identifier with optional | for program internal use (maximum of 10). | -I Specifies a directory where include files reside | (maximum of 10). All "-I" directories are sear- | ched after the current directory and before | "=incl=". | _E_x_a_m_p_l_e_s | cc file.c | cc prog.c -af | _M_e_s_s_a_g_e_s | Numerous and self-explanatory. | _B_u_g_s | The "-a" flag doesn't always work yet. | The "-y" option complains about many things that are not | problems. For instance, it does not know about the run-time | library. | TTThhhiiisss ppprrrooogggrrraaammm iiisss ooonnnlllyyy aaavvvaaaiiilllaaabbbllleee tttooo llliiiccceeennnssseeeeeesss ooofff VVVeeerrrsssiiiooonnn 222...000 | ooofff ttthhheee GGGeeeooorrrgggiiiaaa TTTeeeccchhh CCC CCCooommmpppiiillleeerrr... | _S_e_e _A_l_s_o | compile (1), ccl (1), ld (1), ucc (1), vcg (1), bind (3), c1 | (5), _U_s_e_r_'_s _G_u_i_d_e _f_o_r _t_h_e _G_e_o_r_g_i_a _T_e_c_h _C _C_o_m_p_i_l_e_r cc (1) - 2 - cc (1)