Oracle® Solaris Studio 12.4: Fortran User's Guide

Exit Print View

Updated: March 2015
 
 

3.3.1 Commonly Used Options

The compiler has many features that are selectable by optional command–line parameters. The short list below of commonly used options is a good place to start.

Table 3-4  Commonly Used Options
Action
Option
Debug—global program checking across routines for consistency of arguments, commons, and so on.
–Xlist
Debug—produce additional symbol table information to enable the dbx and debugging.
–g
Performance—invoke the optimizer to produce faster running programs.
–O[n]
Performance—Produce efficient compilation and run times for the native platform, using a set of predetermined options.
–fast
Dynamic (–Bdynamic) or static (–Bstatic) library binding.
–Bx
Compile only—Suppress linking; make a .o file for each source file.
–c
Output file—Name the executable output file nm instead of a.out.
–o nm
Source code—Compile fixed format Fortran source code.
-fixed