⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cc.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th CC I 5/15/74.sh NAMEcc \*- C compiler.sh SYNOPSIS.bd cc[.bd \*-c] [.bd \*-p] [.bd \-f] [.bd \*-O] [.bd \*-S] [.bd \*-P] file ....sh DESCRIPTION.it Ccis the UNIX C compiler.It accepts three types of arguments:.s3Arguments 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..s3The following flags are interpreted by.it cc.See.it "ld (I)"for load-time flags..s3.lp +6 5\fB\*-c\fR	Suppress the loading phase of the compilation, and forcean object file to be produced even if only one program is compiled..s3.lp +6 5\fB\*-p\fR	Arrange 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 the.it monitorsubroutine (III)at the start and arranges to write out a.it mon.outfile at normal termination of execution of the object program.An execution profile can then be generated byuse of.it prof(I)..s3.lp +6 5\fB\-f\fR	In 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..s3.lp +6 5\fB\*-O\fR	Invoke anobject-code optimizer..s3.lp +6 5\fB\*-S\fR	Compile the named C programs, and leave theassembler-language output on corresponding files suffixed `.s'..s3.lp +6 5\fB\*-P\fR	Run only the macro preprocessoron the named C programs, and leave the output on correspondingfiles suffixed `.i'..i0.dt.s3Other argumentsare takento be either loader flag arguments, or C-compatibleobject programs, typically produced by an earlier.it 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.bd a.out..sh FILESfile.c		input file.brfile.o		object file.bra.out		loaded output.br/tmp/ctm?	temporary.br/lib/c[01]	compiler.br/lib/fc[01]	floating-point compiler.br/lib/c2		optional optimizer.br/lib/crt0.o	runtime startoff.br/lib/mcrt0.o	runtime startoff of profiling.br/lib/fcrt0.o	runtime startoff for floating-point interpretation.br/lib/libc.a	C library; see section III..br/lib/liba.a	Assembler library used by some routines in libc.a.sh "SEE ALSO"``Programming in C\(em a tutorial,''C Reference Manual,monitor (III), prof (I), cdb (I), ld (I)..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,in particular ``m,'' which meansa multiply-defined external symbol (functionor data)..sh BUGS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -