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

📄 fc.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th FC I 8/20/73.sh NAMEfc \*- Fortran compiler.sh SYNOPSIS.bd fc[.bd \*-c] sfile1.f ... ofile1 ....sh DESCRIPTION.it Fcis the UNIX Fortran compiler.It accepts three types of arguments:.s3Arguments whose names end with `.f' are assumed to beFortran source program units; they are compiled, andthe object program is left on the file sfile1.o (i.e.the file whose name is that of the source with `.o' substitutedfor `.f')..s3Other arguments (except for\fB\*-c\fR)are assumedto be either loader flags, orobject programs, typically produced by an earlier.it fcrun,or perhaps libraries of Fortran-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..s3The.bd \*-cargument suppresses the loading phase, as doesany syntax error in any of the routines being compiled..s3The following is a listof differences between.it fcand ANSI standard Fortran (also see the BUGS section):.s3.lp +4 41.	Arbitrary combination of types is allowedin expressions.  Not all combinations are expected tobe supported at runtime.All of the normalconversions involving integer, real, doubleprecision and complex are allowed..s3.lp +4 42.	Two forms of ``implicit'' statements are recognized:.bd "implicit integer /i\*-n/",or.bd "implicit integer (i\-n).".s3.lp +4 43.	The typesdoublecomplex, logical*1,integer*1, integer*2,integer*4 (same as integer),real*4 (real),and real*8 (double precision)are supported..s3.lp +4 44.	\fB&\fR as the first character of a linesignals a continuation card..s3.lp +4 45.	\fBc\fR as the first character of a line signals a comment..s3.lp +4 46.	All keywords are recognized in lower case..s3.lp +4 47.	The notion of `column 7' is not implemented..s3.lp +4 48.	G-format input is free form\*-leading blanks are ignored, the first blank after the startof the number terminates the field..s3.lp +4 49.	A comma in any numeric or logical input field terminatesthe field..s3.lp +4 410.	There is no carriage control on output..s3.lp +4 411.	A sequence of.it ncharacters in double quotes `"' is equivalent to.it n.bd hfollowed by those characters..s3.lp +4 412.	In.bd datastatements, a hollerith string may initialize an arrayor a sequence of array elements..s3.lp +4 413.	The number of storage units requested by a binary.bd readmust be identical to the number containedin the record being read..s3.lp +4 414.	If the first character in an input file is ``#'',a preprocessor identical to the C preprocessoris called, which implements ``#define'' and ``#include''preprocessor statements.(See the C reference manual for details.)The preprocessor does not recognizeHollerith strings written with\fIn\*|\fBh\fR..s3.i0In I/O statements, only unit numbers 0-19 are supported.Unit number.it nrefers to filefort\fInn;\fR(e.g. unit 9 is file `fort09').For input, the file must exist;for output, it will be created.Unit 5 is permanently associated withthe standard input file; unit 6 with thestandard output file.Also see.it setfil(III)for a way to associate unit numbers with named files..sh FILES.ta 1.5i.nfa.out	loaded outputf.tmp[123]	temporary (deleted)/usr/fort/fc1	compiler proper/lib/fr0.o	runtime startoff/lib/filib.a	interpreter library/lib/libf.a	builtin functions, etc./lib/liba.a	system library.fi.sh "SEE ALSO"rc (I), which announces a more pleasant Fortran dialect;the ANSI standard;ld (I) for loader flags.For some subroutines, tryierror, getarg, setfil (III)..sh DIAGNOSTICSCompile-time diagnostics are given in English,accompanied if possible with the offendingline number and source line with an underscore where the erroroccurred.Runtime diagnosticsare given by number as follows:.s3.lp +5 51	invalid log argument.lp +5 52	bad arg count to amod.lp +5 53	bad arg count to atan2.lp +5 54	excessive argument to cabs.lp +5 55	exp too large in cexp.lp +5 56	bad arg count to cmplx.lp +5 57	bad arg count to dim.lp +5 58	excessive argument to exp.lp +5 59	bad arg count to idim.lp +5 510	bad arg count to isign.lp +5 511	bad arg count to mod.lp +5 512	bad arg count to sign.lp +5 513	illegal argument to sqrt.lp +5 514	assigned/computed goto out of range.lp +5 515	subscript out of range.lp +5 516	real**real overflow.lp +5 517	(negative real)**real.lp +5 5100	illegal I/O unit number.lp +5 5101	inconsistent use of I/O unit.lp +5 5102	cannot create output file.lp +5 5103	cannot open input file.lp +5 5104	EOF on input file.lp +5 5105	illegal character in format.lp +5 5106	format does not begin with (.lp +5 5107	no conversion in format but non-empty list.lp +5 5108	excessive parenthesis depth in format.lp +5 5109	illegal format specification.lp +5 5110	illegal character in input field.lp +5 5111	end of format in hollerith specification.lp +5 5112	bad argument to setfil.lp +5 5120	bad argument to ierror.lp +5 5999	unimplemented input conversion.i0.sh BUGSThe following is a list ofthose features not yet implemented:.brarithmetic statement functions.brscale factors on input.br.bd Backspacestatement.

⌨️ 快捷键说明

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