Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ f77(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

asa(1)

cc(1)

efl(1)

fpr(1)

fsplit(1)

ld(1)

m4(1)

prof(1)

sdb(1)




f77(1) f77(1)
NAME f77 - invokes the Fortran 77 compiler SYNOPSIS f77 [-1] [-66] [-A factor] [-c] [-C] [-E] [-f] [-F] [-g] [-I[24s]] [-m] [-Ntableentries]... [-ooutput] [-O] [-onetrip] [-p] [-R] [-S] [-u] [-U] [-w] file... ARGUMENTS -1 Acts the same as the -onetrip option. -66 Compiles as a Fortran 66 program. -A factor Expands the default symbol table allocations for the assembler and link editor. The default allocation is multiplied by the factor given. -c Suppresses link editing and produces .o files for each source file. -C Generates code for run-time subscript range-checking. -E Indicates that the remaining characters in the argument are used as an EFL flag argument whenever processing a .e file. -f Uses a version of f77 that handles floating-point constants and links the object program with the floating-point interpreter, in systems without floating-point hardware. file Specifies the file to be processed through the Fortran 77 compiler. -F Applies EFL preprocessor to relevant files and puts the result in files whose names have their suffix changed to .of. (No .o files are created.) -g Generates additional information needed for the use of sdb(1) -I[24s] Changes the default size of integer variables (only valid on machines where the normal integer size is not equal to the size of a single precision real). -I2 causes all integers to be 2-byte quantities, -I4 (default) causes all integers to be 4-byte quantities, and -Is changes the default size of subscript expressions (only) from the size of an integer to 2 bytes. January 1992 1



f77(1) f77(1)
-m Applies the M4 preprocessor to each EFL source file before transforming with the efl(1) processor. -Ntableentries Sets the maximum number of table entries to the number entries. Replaces table with one of the following letter designations corresponding to a compiler table: q Uses the equivalence table. x Uses the external names table. s Uses the statement number table. c Uses the control block table. n Uses the identifier table. To allow up to 1000 statement numbers, use -Ns1000 as the option and argument. -ooutput Names the final output file output, instead of a.out. -O Invokes an object code optimizer. -onetrip Performs all DO loops at least once. (Fortran 77 DO loops are not performed at all if the upper limit is smaller than the lower limit.) -p Prepares object files for profiling (see prof(1)). -R Removes the dynamically created assembler input file upon completion. -S Compiles the named programs and leaves the assembler language output in corresponding files whose names are suffixed with .s. (No .o files are created.) -u Makes the default type of a variable undefined, rather than using the default Fortran rules. -U Does not ``fold'' cases. By default, the f77 compiler is not case sensitive. This option causes f77 to treat upper and lower cases separately. -w Suppresses all warning messages. If the option is -w66, only Fortran 66 compatibility warnings are suppressed. 2 January 1992



f77(1) f77(1)
DESCRIPTION f77 is the Fortran 77 compiler; it accepts several types of file arguments: Arguments whose names end with .f are taken to be Fortran 77 source programs; they are compiled and each object program is left in the current directory in a file whose name is that of the source, with .o substituted for .f. However, if a single Fortran source program is compiled and loaded all at one time, the .o file is deleted. By default the process produces an executable file, named a.out, in the current directory. Arguments whose names end with .r or .e are taken to be EFL source programs; these are first transformed by the EFL preprocessor, then compiled by f77, producing .o files. In the same way, arguments whose names end with .c or .s are taken to be C or assembly source programs and are compiled or assembled, producing .o files. The options have the same meaning as in cc (see ld(1) for link editor options). Other arguments are taken to be link editor option arguments, f77-compatible object programs (typically produced by an earlier run), or libraries of f77-compatible routines. These programs, together with the results of any compilations specified, are linked (in the order given) to produce an executable program with the default name a.out. STATUS MESSAGES AND VALUES The messages produced by f77 itself are self-explanatory. The link editor, ld(1), may occasionally write messages upon the output stream(s). FILES /usr/bin/f77 Executable file file.[fresc] Input file file.o Object file a.out Linked output ./fort [pid].? Temporary file /usr/lib/f77comp Compiler file /lib/c2 Optional optimizer file /usr/lib/libF77.a January 1992 3



f77(1) f77(1)
Intrinsic function library file /usr/lib/libI77.a Fortran I/O library file /lib/libc.a C library file SEE ALSO asa(1), cc(1), efl(1), fpr(1), fsplit(1), ld(1), m4(1), prof(1), sdb(1) ``f77 Command Syntax,'' in A/UX Programming Languages and Tools, Volume 1 4 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026