?? f77.1
字號:
.\" SCCSID: @(#)f77.1 8.1 9/11/90.TH f77 1 VAX "" Unsupported.SH Namef77 \- Fortran 77 compiler.SH Syntax .B f77[\|\fIoption...\fR\|] \fIfile\fR....SH Description.NXB "f77 compiler".NXA "f77 compiler" "ld command".NXA "f77 compiler" "make command (general)".NXA "prof command" "f77 compiler".NXA "gprof command" "f77 compiler".NXA "FORTRAN-77 compiler" "f77 compiler"The.PN f77command runs the ULTRIX Fortran 77 compiler..SS ArgumentsThe.PN f77command accepts several types of .I filearguments:.PPArguments whose names end with `.f' are taken to beFortran 77 source programs;they are compiled, andeach object program is left on the file in the current directorywhose name is that of the source with `.o' substitutedfor '.f'..PPArguments whose names end with `.F' are also taken to be Fortran 77 sourceprograms; these are first processed by the C preprocessor before beingcompiled by.PN f77 ..PPArguments whose names end with `.r' or `.e' are taken to be Ratforor EFL source programs respectively; these are first transformed by theappropriate preprocessor, then compiled by f77..PPArguments whose names end with `.c' or `.s'are taken to be C or assemblysource programs and are compiled or assembled, producing a `.o' file..PPOther arguments are taken to be F77-compatible object programs,typically produced by an earlier run, or librariesof F77-compatible routines. These programs, together with theresults of any compilations specified, are loaded in the ordergiven to produce an executable program with the name ``a.out''..PPPrograms compiled with.PN f77produce memory dumps in file.PN coreupon abnormal termination if the.B \-goption was specified during loading.If the environment variable.I f77_dump_flagis set to a value beginning with y or n, dumpsfor abnormal terminations are respectively forced orsuppressed..SH Options.NXR "f77 compiler" "options"The following options have the same meaning as in.MS cc 1 .See.MS ld 1for load-time options..IP \fB\-c\fR 5Suppresses loading and produces `.o' files for each source file..IP \fB\-g\fRProduces additional symbol table information for.MS dbx 1and pass the.B \-lgflag to.MS ld 1so that on abnormal terminations, the memory image is writtento file \fIcore\fP.Incompatible with.BR \-O ..IP "\fB\-o\fI output\fR"Name the final output file.I outputinstead of .PN a.out..IP \fB\-p\fRPrepare object files for profiling, see.MS prof 1 ..IP \fB\-pg\fRCauses the compiler to produce counting code in the manner of.B \-p,but invokes a run-time recording mechanism that keeps more extensivestatistics and produces a.I gmon.outfile at normal termination. An execution profile can then be generatedby use of.MS gprof 1 ..IP \fB\-w\fRSuppresses all warning messages.If the option is `\-w66', only Fortran 66 compatibility warnings are suppressed..IP \fB\-D\fIname=def\fR.IP \fB\-D\fIname\fRDefines the.I nameto the C preprocessor, as if by `#define'. If no definition is given, the nameis defined as "1". (`.F' suffix files only)..IP \fB\-I\fIdir\fR`#include' files whose names do not begin with `/' are always soughtfirst in the directory of the.I fileargument, then in directories named in.B \-Ioptions, then in directories on a standard list. (`.F' suffix files only)..IP \fB\-O\fRInvoke anobject-code optimizer.Incompatible with.BR \-g ..IP \fB\-S\fRCompiles the named programs, and leave theassembler-language output on corresponding files suffixed `.s'.(No `.o' is created.)..PPThe following options are peculiar to.PN f77..IP \fB\-d\fRUsed for debugging the compiler..IP \fB\-i2\fROn machines which support short integers, make the default integer constantsand variables short..RB ( \-i4is the standard value of this option). All logical quantities will be short..IP \fB\-q\fRSuppresses printing of file names and program unit names during compilation..IP \fB\-m\fRApply the M4 preprocessor to each `.r' file before transformingit with the Ratfor or EFL preprocessor..IP \fB\-onetrip\fR.IP \fB\-1\fRCompile DO loops that are performed at least once if reached.(Fortran 77 DO loops are not performed at all if the upper limit is smaller than the lower limit.).IP \fB\-r8\fRTreat all floating point variables,constants, functions and intrinsicsas double precision and all complexquantities as double complex..IP \fB\-u\fRMake the default type of a variable `undefined' rather than using the default Fortran rules..IP \fB\-v\fRPrint the version number of the compiler, and the name of each pass as itexecutes..IP \fB\-C\fRCompile code to check that subscripts are within declared array bounds.For multi-dimensional arrays, only the equivalent linear subscript is checked..IP \fB\-F\fRApply the C preprocessor to `.F' files, and the EFL, or Ratfor preprocessorsto `.e' and `.r' files, put theresult in the file with the suffix changed to `.f', but do not compile..IP \fB\-E\fIx\fRUse the string .I xas an EFL option in processing `.e' files..IP \fB\-R\fIx\fR Use the string .I xas a Ratfor option in processing `.r' files..IP \fB\-N\fR[\fBqxscn\fR]\fInnn\fR Make static tables in the compiler bigger. The compiler will complainif it overflows its tables and suggest you apply one or more of theseflags. These flags have the following meanings:.RS.TP.B qMaximum number of equivalenced variables. Default is 150..TP.B xMaximum number of external names (common block names, subroutine andfunction names). Default is 200..TP.B sMaximum number of statement numbers. Default is 401..TP.B cMaximum depth of nesting for control statements (e.g. DO loops). Default is20..TP.B nMaximum number of identifiers. Default is 1009..RE.IP \fB\-U\fR Do not convert upper case letters to lower case. The default is to convertFortran programs to lower case except within character string constants..SH Restrictions.NXR "f77 compiler" "restricted"Files longer than about 50,000 lines must be split up tobe compiled..SH Diagnostics.NXR "f77 compiler" "diagnostics"The diagnostics produced by.PN f77itself are intended to be self-explanatory. Occasionalmessages may be produced by the loader..SH Files.nf.ta \w'/usr/lib/libF77_p.a 'ufile.[fFresc] Input filefile.o Object filea.out Loaded output./fort[pid].? temporary/usr/lib/f77pass1 Compiler/lib/f1 Pass 2/lib/c2 Optional optimizer/lib/cpp C preprocessor/usr/lib/libF77.a Intrinsic function library/usr/lib/libI77.a Fortran I/O library/usr/lib/libU77.a ULTRIX interface library/usr/lib/libm.a math library/lib/libc.a C library, see section 3/usr/lib/libF77_p.a Profiling intrinsic function library/usr/lib/libI77_p.a Profiling Fortran I/O library/usr/lib/libU77_p.a Profiling ULTRIX interface library/usr/lib/libm_p.a Profiling math library/usr/lib/libc_p.a Profiling C library, see section 3mon.out File produced for analysis by prof(1) gmon.out File produced for analysis by gprof(1).fi.SH See Alsoar(1), cc(1), dbx(1), efl(1), fpr(1), fsplit(1), gprof(1),ld(1), prof(1), ranlib(1), ratfor(1), struct(1), intro(3f).br"Introduction to the f77 I/O Library"and "A Portable Fortran 77 Compiler" in the\fISupplementary Documents, Volume 2: Programmer\fP
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -