Annotation of researchv10dc/dist/man/v4/man1/cc.1, revision 1.1.1.1

1.1       root        1: .th CC I 3/15/72
                      2: .sh NAME
                      3: cc \*- C compiler
                      4: .sh SYNOPSIS
                      5: .bd cc
                      6: [
                      7: .bd \*-c
                      8: ] [
                      9: .bd \*-p
                     10: ] file ...
                     11: .sh DESCRIPTION
                     12: .it Cc
                     13: is the UNIX C compiler.
                     14: It accepts three types of arguments:
                     15: .s3
                     16: Arguments whose names end with `.c' are assumed to be
                     17: C source programs; they are compiled, and
                     18: the object program is left on the file
                     19: whose name is that of the source with `.o' substituted
                     20: for `.c'.
                     21: .s3
                     22: Other arguments (except for
                     23: \fB\*-c\fR)
                     24: are assumed
                     25: to be either loader flag arguments, or C-compatible
                     26: object programs, typically produced by an earlier
                     27: .it cc
                     28: run,
                     29: or perhaps libraries of C-compatible routines.
                     30: These programs, together with the results of any
                     31: compilations specified, are loaded (in the order
                     32: given) to produce an executable program with name
                     33: .bd a.out.
                     34: .s3
                     35: The
                     36: .bd \*-c
                     37: argument suppresses the loading phase, as does
                     38: any syntax error in any of the routines being compiled.
                     39: .s3
                     40: If the
                     41: .bd \*-p
                     42: flag is used,
                     43: only the macro prepass is run on
                     44: all files whose name
                     45: ends in \fB.c\fR.
                     46: The expanded source is left on the file
                     47: whose name is that of the source
                     48: with \fB.i\fR
                     49: substituted for \fB.c\fR.
                     50: .sh FILES
                     51: file.c         input file
                     52: .br
                     53: file.o         object file
                     54: .br
                     55: a.out          loaded output
                     56: .br
                     57: /tmp/ctm?      temporary
                     58: .br
                     59: /lib/c[01]     compiler
                     60: .br
                     61: /lib/crt0.o    runtime startoff
                     62: .br
                     63: /lib/libc.a    builtin functions, etc.
                     64: .br
                     65: /lib/liba.a    system library
                     66: .sh "SEE ALSO"
                     67: `C reference manual', cdb(I),
                     68: ld(I) for other flag arguments.
                     69: .sh BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.