?? cc.1
字號:
.TH CC 1 PDP11.SH NAMEcc, pcc \- C compiler.SH SYNOPSIS.B cc[ option ] ... file ....PP.B pcc[ option ] ... file ....SH DESCRIPTION.I Ccis the UNIX C compiler.It accepts several types of arguments:.PPArguments whose names end with `.c' are taken to beC source programs; they are compiled, andeach object program is left on the filewhose name is that of the source with `.o' substitutedfor `.c'.The `.o' file is normally deleted, however, if a singleC program is compiled and loaded all at one go..PPIn the same way,arguments whose names end with `.s' are taken to be assembly source programsand are assembled, producing a `.o' file..PPThe following options are interpreted by.IR cc .See.IR ld (1)for load-time options..TP 8.B \-cSuppress the loading phase of the compilation, and forcean object file to be produced even if only one program is compiled..TP.B \-pArrange for the compiler to produce codewhich counts the number of times each routine is called;also, if loading takes place, replace the standard startuproutine by one which automatically calls.IR monitor (3)at the start and arranges to write out a.I mon.outfile at normal termination of execution of the object program.An execution profile can then be generated byuse of.IR prof (1)..TP.B \-fIn systems without hardware floating-point,use a version of the C compiler which handles floating-pointconstants andloads the object program with the floating-point interpreter.Do not use if the hardware is present..TP.SM.B \-OInvoke anobject-code optimizer..TP.SM.B \-SCompile the named C programs, and leave theassembler-language output on corresponding files suffixed `.s'..TP.SM.B \-PRun only the macro preprocessor and place the result foreach `.c' file in a corresponding `.i' fileand has no `#' lines in it..TP.SM.B \-ERun only the macro preprocessorand send the result to thestandard output.The output is intended for compiler debugging; it is unacceptable as input to.IR cc ..TP.BI \-o " output"Name the final output file.IR output .If this option is used the file `a.out' will be left undisturbed..TP.BI \-D name=def.br.ns.TP.SM.BI \-D \*SnameDefine the.I nameto the preprocessor,as if by`#define'.If no definition is given, the name is defined as 1..TP.SM.BI \-U \*SnameRemove any initial definition of.IR name ..TP.SM.BI \-I \*Sdir`#include' fileswhose names do not begin with `/' are alwayssought first in the directory of the.I fileargument,then in directories named in .B \-Ioptions,then in directories on a standard list..TP.SM.BI \-B \*SstringFind substitute compiler passes in the files named.I stringwith the suffixes cpp, c0, c1 and c2.If .I string is empty, use a standard backup version..TP.BR \-t [ p012 ]Find only the designated compiler passes in thefiles whose names are constructed by a.B \-Boption.In the absence of a.B \-B option, the.I stringis taken to be `/usr/c/'..PPOther argumentsare takento be either loader option arguments, or C-compatibleobject programs, typically produced by an earlier.I ccrun,or perhaps libraries of C-compatible routines.These programs, together with the results of anycompilations specified, are loaded (in the ordergiven) to produce an executable program with name.B a.out..PPThe major purpose of the `portable C compiler',.I pcc,is to serve as a modelon which to base other compilers..I Pccdoes not support options.BR \-f ,.BR \-E ,.BR \-B ,and.BR \-t .It provides, in addition to the language of.I cc,unsigned char type data and initialized bit fields..SH FILES.ta \w'/usr/c/oc[102] 'ufile.c input file.brfile.o object file.bra.out loaded output.br/tmp/ctm? temporaries for.I cc.br/lib/cpp preprocessor.br/lib/c[01] compiler for.I cc.br/usr/c/oc[012] backup compiler for.I cc.br/usr/c/ocpp backup preprocessor.br/lib/fc[01] floating-point compiler.br/lib/c2 optional optimizer.br/lib/crt0.o runtime startoff.br/lib/mcrt0.o startoff for profiling.br/lib/fcrt0.o startoff for floating-point interpretation.br/lib/libc.a standard library, see.IR intro (3).br/usr/include standard directory for `#include' files.br/tmp/pc* temporaries for.I pcc.br/usr/lib/ccom compiler for.I pcc.SH "SEE ALSO"B. W. Kernighan and D. M. Ritchie,.I The C Programming Language,Prentice-Hall,1978.brD. M. Ritchie,.IC Reference Manual.brmonitor(3), prof(1), adb(1), ld(1).SH DIAGNOSTICSThe diagnostics produced by C itself are intended to beself-explanatory.Occasional messages may be produced by the assembleror loader.Of these, the most mystifying are from the assembler,.IR as (1),in particular `m', which meansa multiply-defined external symbol (functionor data)..SH BUGS.I Pccis little tried on the PDP11; specializedcode generated for that machine has not beenwell shaken down.The.B \-Ooptimizer was designed to work with.IR cc ;its use with.I pccis suspect.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -