diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man1/cc.1 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man1/cc.1')
| -rw-r--r-- | static/unix-v10/man1/cc.1 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/static/unix-v10/man1/cc.1 b/static/unix-v10/man1/cc.1 new file mode 100644 index 00000000..348a79e5 --- /dev/null +++ b/static/unix-v10/man1/cc.1 @@ -0,0 +1,52 @@ +.pa 1 +.he 'CC (I)'3/15/72'CC (I)' +.ti 0 +NAME cc -- C compiler +.sp +.ti 0 +SYNOPSIS cc__ [ -c__ ] sfile\d1\u.c__ ... ofile\d1\u ... +.sp +.ti 0 +DESCRIPTION cc__ +is the UNIX C compiler. +It accepts three types of arguments: + +Arguments whose names end with ".c" are assumed to be +C source programs; they are compiled, and +the object program is left on the file sfile\d1\u.o (i.e. +the file whose name is that of the source with ".o" substituted +for ".c"). + +Other arguments (except for "-c") are assumed +to be either loader flag 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 with name +a.out_____. + +The "-c" argument suppresses the loading phase, as does +any syntax error in any of the routines being compiled. + +.ti 0 +FILES file.c input file +.nf +file.o object file +a.out loaded output +/tmp/ctm? temporary +/lib/c[01] compiler +/lib/crt0.o runtime startoff +/lib/libc.a builtin functions, etc. +/lib/liba.a system library +.fi +.sp +.ti 0 +SEE ALSO C reference manual (in preparation), cdb(I) +.sp +.ti 0 +DIAGNOSTICS Diagnostics +are intended to be self-explanatory. +.sp +.ti 0 +BUGS -- |
