Sun Studio 12: Fortran User's Guide

3.1 Command Syntax

The general syntax of the compiler command line is:

f95 [options] list_of_files  additional_options

Items in square brackets indicate optional parameters. The brackets are not part of the command. The options are a list of option keywords prefixed by dash (). Some keyword options take the next item in the list as an argument. The list_of_files is a list of source, object, or library file names separated by blanks. Also, there are some options that must appear after the list of source files, and these could include additional lists of files (for example, -B, -l, and -L).