/sys$common/syshlp/helplib.hlb FORTRAN, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1. $ FORTRAN MYPROG In this example, the default Fortran compiler is invoked to compile the source file MYPROG.FOR, resulting in the object file MYPROG.OBJ. No listing file is produced unless the command is invoked from a batch job, in which case the listing file MYPROG.LIS is also produced. 2. $ FORTRAN/DEBUG/NOOPT/LIST/CROSS_REFERENCE V6PROG In this example, the Compaq Fortran 77 compiler is invoked to compile the source file V6PROG.FOR, producing an object file V6PROG.OBJ and a listing file V6PROG.LIS. The object file includes symbolic debugging information and the listing file includes cross-reference information. The object code is not optimized, for aid in debugging. 3. $ FORTRAN/VECTOR/ASSUME=NOACCURACY_SENSITIVE VECPROG In this example, the Compaq Fortran 77 compiler is invoked to compile the source file VECPROG.FOR, producing the object file VECPROG.OBJ. The compiled code contains VAX vector instructions for vectorizable constructs, and the compiler has assumed that arithmetic calculations can be reordered to improve performance.
|