C
- cache
- padding for,
3.4.70 –pad[=p]
- specify hardware cache,
3.4.108 –xcache=c
- CALL, inlining subprogram calls with -inline,
3.4.43 –inline=[%auto][[,][no%]f1,…[no%]fn]
- case, preserve upper and lower case,
3.4.88 –U
- cc command-line options, -xvector,
3.4.169 -xvector[=a]
- C(..) directive,
2.3.1.1 The C Directive
- CDIR$ in directives,
4.8.1.1 Fixed-Form Source
- code size,
3.4.164 –xspace
- command-line, help,
1.8 Command-Line Help
- command-line options
- Reference to all option flags,
3.4 Options Reference
- grouped by function,
3.3 Options Summary
- summary,
3.3 Options Summary
- -a (obsolete),
3.3.4 Obsolete Option Flags
- -aligncommon,
3.4.1 –aligncommon[={1|2|4|8|16}]
- -ansi,
3.4.2 –ansi
- -arg=local,
3.4.3 –arg=local
- -autopar, parallelize automatically,
3.4.4 –autopar
- -Bdynamic,
3.4.5 –B{static|dynamic}
- -Bstatic,
3.4.5 –B{static|dynamic}
- -C, check subscripts,
3.4.6 –C
- -c, compile only,
3.4.7 –c
- commonly used,
3.3.1 Commonly Used Options
- -copyargs, allow stores to literal arguments,
3.4.8 –copyargs
- -Dname, define symbol,
3.4.9 –Dname[=def]
- -dalign
3.4.10 –dalign
3.4.23 –fast
- -dbl_align_all, force data alignment,
3.4.11 –dbl_align_all[={yes|no}]
- default options file,
2.6 User-Supplied Default Options File
- -depend,
3.4.23 –fast
- data dependency analysis,
3.4.12 –depend[={yes|no}]
-dn,
3.4.14 –d{y|n}
- -dryrun,
3.4.13 –dryrun
- -dy,
3.4.14 –d{y|n}
- -e, extended source lines,
3.4.15 –e
- -erroff, suppress warnings,
3.4.16 –erroff[={%all|%none|taglist}]
- -errtags, display message tag with warnings,
3.4.17 –errtags[={yes|no}]
- -errwarn, error warnings,
3.4.18 –errwarn[={%all|%none|taglist}]
- -ext_names, externals without underscore,
3.4.19 –ext_names=e
- -F,
3.4.20 –F
- -f77,
3.4.22 –f77[=list]
- -f, align on 8-byte boundaries,
3.4.21 –f
- -fast,
3.4.23 –fast
- -fixed,
3.4.24 –fixed
- -flags,
3.4.25 –flags
- -fma,
3.4.26 –fma={none|fused}
- -fnonstd,
3.4.27 –fnonstd
- -fns
3.4.23 –fast
3.4.28 –fns[={yes|no}]
- -fpp, Fortran preprocessor,
3.4.30 –fpp
- -fprecision, x86 precision mode,
3.4.31 –fprecision={single|double|extended}
- -free,
3.4.32 –free
- -fround=r,
3.4.33 –fround={nearest|tozero|negative|positive}
- -fsimple,
3.4.23 –fast
- simple floating-point model,
3.4.34 –fsimple[={1|2|0}]
-fstore,
3.4.35 –fstore
- -ftrap,
3.4.36 –ftrap=t
- -G,
3.4.37 –G
- -g,
3.4.38 –g
- -hname,
3.4.39 –hname
- -help,
3.4.40 –help
- -Idir,
3.4.41 –Ipath
- -i8 — use —xtypemap=integer:64 instead,
3.4.42 -i8
- -inline,
3.4.43 –inline=[%auto][[,][no%]f1,…[no%]fn]
- -iorounding,
3.4.44 –iorounding[={compatible|processor-defined}]
- -keeptmp,
3.4.45 –keeptmp
- -Kpic,
3.4.46 –Kpic
- -KPIC,
3.4.47 –KPIC
- -Ldir,
3.4.48 –Lpath
- -llibrary,
3.4.49 –lx
- legacy,
3.3.3 Backward Compatibility and Legacy Options
- -libmil
3.4.23 –fast
3.4.50 –libmil
- -library=sunperf,
3.4.51 -library=sunperf
- -loopinfo, show parallelization,
3.4.52 –loopinfo
- -Mdir, f95 modules,
4.9 Module Files
- -m32 | —m64,
3.4.54 –m32 | –m64
- macros,
3.3.2 Macro Flags
- -moddir,
3.4.55 –moddir=path
- -mt, multithread safe libraries,
3.4.56 -mt[={yes|no}]
- -native,
3.4.57 –native
- -native (obsolete),
3.3.4 Obsolete Option Flags
- -noautopar,
3.4.58 –noautopar
- -nodepend,
3.4.59 –nodepend
- -nofstore,
3.4.60 -nofstore
- -nolib,
3.4.61 –nolib
- -nolibmil,
3.4.62 –nolibmil
- -noqueue (obsolete),
3.3.4 Obsolete Option Flags
- -noreduction,
3.4.63 –noreduction
- -norunpath,
3.4.64 –norunpath
- -On
3.4.23 –fast
3.4.65 –O[n]
3.4.65 –O[n]
3.4.65 –O[n]
- -o, output file,
3.4.66 –o filename
- obsolete,
3.3.4 Obsolete Option Flags
- obsolete f77 flags not supported,
5.2 Incompatibility Issues
- -onetrip,
3.4.67 –onetrip
- -openmp,
3.4.68 –openmp
- order of processing,
3.2 Options Syntax
- -p, profile (obsolete),
3.4.69 –p
- -pad=p
3.4.23 –fast
3.4.70 –pad[=p]
- pass option to compilation phase,
3.4.74 –Qoption pr ls
- -pg, profile by procedure,
3.4.71 –pg
- -pic,
3.4.72 –pic
- -PIC,
3.4.73 –PIC
- -pic (obsolete),
3.3.4 Obsolete Option Flags
- -PIC (obsolete),
3.3.4 Obsolete Option Flags
- -Qoption,
3.4.74 –Qoption pr ls
- -Rlist,
3.4.76 –R ls
- -r8const,
3.4.77 –r8const
- -recl=a[,b],
3.4.78 –recl=a[,b]
- -S,
3.4.80 –S
- -s,
3.4.81 –s
- -silent,
3.4.82 –silent
- -stackvar
3.4.83 –stackvar
3.4.159 –xrecursive
- -stop_status,
3.4.84 –stop_status[={yes|no}]
- syntax,
3.2 Options Syntax
- -temp,
3.4.85 –temp=dir
- -time,
3.4.86 –time
- -traceback,
3.4.87 –traceback[={%none|common|signals_list}]
- -U, do not convert to lowercase,
3.4.88 –U
- -Uname, undefine preprocessor macro,
3.4.89 –Uname
- -u,
3.4.90 –u
- unrecognized options,
2.2.7 Unrecognized Command-Line Arguments
- -unroll, unroll loops,
3.4.91 –unroll=n
- -use,
4.9.2 The -use=list Option Flag
- -V,
3.4.93 –V
- -v,
3.4.94 –v
- -vax,
3.4.95 –vax=keywords
- -vpara,
3.4.96 –vpara
- -W,
3.4.97 -Wc,arg
- -w,
3.4.98 –w[n]
- -xaddr32,
3.4.101 –xaddr32[={yes|no}]
- -xalias=list,
3.4.102 –xalias[=keywords]
- -xannotate[={yes|no}],
3.4.103 –xannotate[={yes|no}]
- -xarch=isa,
3.4.104 –xarch=isa
- -xassume_control
2.3.1.8 The ASSUME Directives
3.4.105 –xassume_control[=keywords]
- -xautopar,
3.4.106 –xautopar
- -xbinopt,
3.4.107 –xbinopt={prepare | off}
- -xcache=c,
3.4.108 –xcache=c
- -xchip=c,
3.4.110 –xchip=c
- -xcode=c,
3.4.111 –xcode=keyword
- -xcommoncheck,
3.4.112 –xcommonchk[={yes|no}]
- -xdebugformat,
3.4.113 –xdebugformat={dwarf|stabs}
- -xdepend,
3.4.114 –xdepend
- -xF,
3.4.115 –xF
- -xhasc, Hollerith as character,
3.4.117 –xhasc[={yes|no}]
- -xhelp=h,
3.4.118 –xhelp=flags
- -xhwcprof,
3.4.119 –xhwcprof[={enable | disable}]
- -xia, interval arithmetic,
3.4.120 –xia[={widestneed|strict}]
- -xinline,
3.4.121 –xinline=list
- -xinstrument,
3.4.122 –xinstrument=[%no]datarace
- -xinterval=v for interval arithmetic,
3.4.123 –xinterval[={widestneed|strict|no}]
- -xipo_archive,
3.4.125 –xipo_archive[={none|readonly|writeback}]
- -xipo, interprocedural optimizations,
3.4.124 –xipo[={0|1|2}]
- -xivdep,
3.4.126 –xivdep[=p]
- -xjobs, multiprocessor compilation,
3.4.127 –xjobs=n
- -xkeepframe, prohibit stack-related optimizations,
3.4.128 –xkeepframe[=[%all,%none,name,no%name]]
- -xknown_lib, optimize library calls,
3.4.129 –xknown_lib=library_list
- -xlang=f77, link with Fortran 77 libraries,
3.4.131 –xlang=f77
- -xld, (obsolete),
3.4.132 –xld
- -xlibmil,
3.4.133 –xlibmil
- -xlibmopt
3.4.23 –fast
3.4.134 –xlibmopt
- -xlic_lib=sunperf obsolete,
3.4.135 –xlic_lib=sunperf
- -Xlinker,
3.4.99 -Xlinker arg
- -xlinkopt,
3.4.136 –xlinkopt[={1|2|0}]
- -xlinkopt, link-time optimizations,
3.4.136 –xlinkopt[={1|2|0}]
- -Xlist, global program checking,
3.4.100 –Xlist[x]
- -xl, (obsolete),
3.4.130 –xl
- -xloopinfo,
3.4.137 –xloopinfo
- -xmaxopt,
3.4.138 –xmaxopt[=n]
- -xmemalign,

- -xnolib
3.4.141 –xnolib
3.4.142 –xnolibmil
- -xnolibmopt,
3.4.143 –xnolibmopt
- -xOn,
3.4.144 –xOn
- -xopenmp,
3.4.145 –xopenmp[={parallel|noopt|none}]
- -xpagesize,
3.4.147 –xpagesize=size
- -xpagesize_heap,
3.4.148 –xpagesize_heap=size
- -xpagesize_stack,
3.4.149 –xpagesize_stack=size
- -xpec,
3.4.150 –xpec[={yes|no}]
- -xpg,
3.4.151 –xpg
- -xpp=p,
3.4.152 –xpp={fpp|cpp}
- -xprefetch
2.3.1.7 The PREFETCH Directives
2.3.1.7 The PREFETCH Directives
- -xprefetch_auto_type,
3.4.154 –xprefetch_auto_type=indirect_array_access
- -xprofile_ircache,
3.4.157 –xprofile_ircache[=path]
- -xprofile=p,
3.4.156 –xprofile=p
- -xprofile_pathmap=param,
3.4.158 –xprofile_pathmap=collect_prefix:use_prefix
- -xrecursive,
3.4.159 –xrecursive
- -xreduction,
3.4.160 –xreduction
- -xregs=r,
3.4.161 –xregs=r
- -xs,
3.4.162 –xs
- -xsafe=mem,
3.4.163 –xsafe=mem
- -xspace,
3.4.164 –xspace
- -xtarget=native,
3.4.23 –fast
- -xtarget=t,
3.4.165 –xtarget=t
- -xtime,
3.4.166 –xtime
- -xtypemap,
3.4.167 –xtypemap=spec
- -xunroll,
3.4.168 –xunroll=n
- -xvector,
3.4.23 –fast
- -ztext,
3.4.170 –ztext
- comments, as directives,
4.8 Directives
- COMMON
- alignment,
3.4.1 –aligncommon[={1|2|4|8|16}]
- global consistency, -Xlist,
3.4.100 –Xlist[x]
- padding,
3.4.70 –pad[=p]
- TASKCOMMON consistency checking,
3.4.112 –xcommonchk[={yes|no}]
- compatibility
- Fortran 77
3.4.22 –f77[=list]
FORTRAN 77 Compatibility: Migrating to Solaris Studio Fortran
- forward,
4.11 Forward Compatibility
- with C,
4.12 Mixing Languages
- compile and link
2.2.1 Compile-Link Sequence
2.2.5 Separate Compiling and Linking
- and -B,
3.4.5 –B{static|dynamic}
- build a dynamic shared library,
3.4.37 –G
- compile only,
3.4.7 –c
- dynamic (shared) libraries,
3.4.14 –d{y|n}
- compiler
- command line,
2.2 Invoking the Compiler
- driver, show commands with -dryrun
3.4.13 –dryrun
3.4.13 –dryrun
- show version,
3.4.93 –V
- timing,
3.4.86 –time
- verbose messages,
3.4.94 –v
- constant arguments, -copyargs,
3.4.8 –copyargs
- continuation lines
3.4.15 –e
4.1.1 Continuation Line Limits
- conventions, file name suffixes,
2.2.2 Command-Line File Name Conventions
- coverage analysis (tcov),
3.4.156 –xprofile=p
- cpp, C preprocessor
2.2.4 Source File Preprocessors
3.4.9 –Dname[=def]
3.4.20 –F
- Cray
- pointer,
4.3 Cray Pointers
- pointer and Fortran pointer,
4.3.3 Declaring Cray Pointers and Fortran 95 Pointers
- cross reference table, Xlist,
3.4.100 –Xlist[x]