Annotation of 43BSDTahoe/new/help/src/f77/options, revision 1.1.1.1

1.1       root        1: .TI F77/OPTIONS "June 15, 1985"
                      2: Options for the f77 Compiler and the Loader
                      3: 
                      4: See "man f77" and "man ld" for a complete list of options.  These are the
                      5: most commonly used options:
                      6: 
                      7: .nf
                      8:        -C      generate execution time subscript bounds checking
                      9:        -O      optimize (somewhat) the object code
                     10:        -w      suppress all warning messages
                     11:        -w66    suppress warning messages regarding Fortran 66
                     12:                        compatibility
                     13:        -c      compile only; don't load
                     14:        -g      save the symbol table for the symbolic debugger, dbx,
                     15:                        load special subroutines in case dbx is used
                     16:                        interactively, and cause core to be dumped
                     17:                        on errors
                     18:        -p      generate code to perform execution time profiling
                     19:                        by the 'prof' command
                     20:        -pg     generate code to perform execution time profiling
                     21:                        by the 'gprof' command - this is more
                     22:                        extensive than -p and 'prof'
                     23:        -q      suppress printing file and program unit names during
                     24:                        compilation
                     25:        -o fn   save the executable in 'fn' instead of in 'a.out'
                     26:        -M      load map: the loader prints out each file scanned
                     27:                        and which files are loaded from archives
                     28:        -l<lib> scan the indicated system library, e.g. -lf77plot
                     29:                        causes /usr/lib/libf77plot.a, the f77 graphics
                     30:                        interface library, to be scanned during loading
                     31:                        and any needed object files in that library
                     32:                        are loaded
                     33: .fi
                     34: 
                     35: The -C, -O, -w, -w66, -q, and -c options are directed to the compiler; -l, -o,
                     36: and -M are directed to the loader, and -g, -p, -pg must be specified to both.
                     37: Thus:
                     38: 
                     39: .nf
                     40:        f77 -c -g -p -C prog.f
                     41:        f77    -g -p    prog.o -lf77plot -o myprog
                     42: .fi
                     43: 
                     44: is equivalent to:
                     45: 
                     46:        f77 -g -p -C prog.f -lf77plot -o myprog

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.