JavaScript is required to for searching.
跳过导航链接
退出打印视图
Oracle Solaris Studio 12.3:Fortran 用户指南     Oracle Solaris Studio 12.3 Information Library (简体中文)
search filter icon
search icon

文档信息

前言

1.  简介

2.  使用 Solaris Studio Fortran

3.  Fortran 编译器选项

3.1 命令语法

3.2 选项语法

3.3 选项摘要

3.3.1 常用选项

3.3.2 宏标志

3.3.3 向后兼容性和传统选项

3.3.4 已过时的选项标志

3.4 选项参考

3.4.1 -aligncommon[ ={1|2|4| 8|16}]

3.4.2 -ansi

3.4.3 -arg=local

3.4.4 -autopar

3.4.5 -B{static |dynamic}

3.4.6 -C

3.4.7 -c

3.4.8 -copyargs

3.4.9 -Dname[ =def]

3.4.10 -dalign

3.4.11 -dbl_align_all[ ={yes|no}]

3.4.12 -depend[ ={yes|no}]

3.4.13 -dryrun

3.4.14 -d{ y|n}

3.4.15 -e

3.4.16 -erroff[ ={%all|%none| taglist}]

3.4.17 -errtags[ ={yes|no}]

3.4.18 -errwarn[ ={%all|%none| taglist}]

3.4.19 -ext_names= e

3.4.20 -F

3.4.21 -f

3.4.22 -f77[= list]

3.4.23 -fast

3.4.24 -fixed

3.4.25 -flags

3.4.26 -fma={ none|fused}

3.4.27 -fnonstd

3.4.28 -fns[ ={yes| no}]

3.4.29 -fpover[ ={yes|no}]

3.4.30 -fpp

3.4.31 -fprecision={ single|double|extended}

3.4.32 -free

3.4.33 -fround={ nearest|tozero|negative| positive}

3.4.34 -fsimple[ ={1|2|0}]

3.4.35 -fstore

3.4.36 -ftrap= t

3.4.37 -G

3.4.38 -g

3.4.39 -hname

3.4.40 -help

3.4.41 -Ipath

3.4.42 -i8

3.4.43 -inline=[ %auto][[,][no%] f1,...[no%]fn]

3.4.44 -iorounding[ ={compatible|processor-defined}]

3.4.45 -keeptmp

3.4.46 -Kpic

3.4.47 -KPIC

3.4.48 -Lpath

3.4.49 -lx

3.4.50 -libmil

3.4.51 -library=sunperf

3.4.52 -loopinfo

3.4.53 -Mpath

3.4.54 -m32 | -m64

3.4.55 -moddir= path

3.4.56 -mt[={ yes|no}]

3.4.57 -native

3.4.58 -noautopar

3.4.59 -nodepend

3.4.60 -nofstore

3.4.61 -nolib

3.4.62 -nolibmil

3.4.63 -noreduction

3.4.64 -norunpath

3.4.65 -O[n]

3.4.66 -o filename

3.4.67 -onetrip

3.4.68 -openmp

3.4.69 -p

3.4.70 -pad[= p]

3.4.71 -pg

3.4.72 -pic

3.4.73 -PIC

3.4.74 -Qoption pr ls

3.4.75 -qp

3.4.76 -R ls

3.4.77 -r8const

3.4.78 -recl=a[ ,b]

3.4.79 -reduction

3.4.80 -S

3.4.81 -s

3.4.82 -silent

3.4.83 -stackvar

3.4.84 -stop_status[ ={yes|no}]

3.4.85 -temp= dir

3.4.86 -time

3.4.87 -traceback[ ={%none|common| signals_list}]

3.4.88 -U

3.4.89 -Uname

3.4.90 -u

3.4.91 -unroll= n

3.4.92 -use= list

3.4.93 -V

3.4.94 -v

3.4.95 -vax= keywords

3.4.96 -vpara

3.4.97 -Wc ,arg

3.4.98 -w[n ]

3.4.99 -Xlinker arg

3.4.100 -Xlist[ x]

3.4.101 -xaddr32[ ={yes|no}]

3.4.102 -xalias[ =keywords]

3.4.103 -xannotate[ ={yes|no}]

3.4.104 -xarch=isa

3.4.104.1 x86/x64 平台的特别注意事项:

3.4.105 -xassume_control[ =keywords]

3.4.106 -xautopar

3.4.107 -xbinopt={prepare | off}

3.4.108 -xcache=c

3.4.109 -xcheck= keyword

3.4.110 -xchip= c

3.4.111 -xcode= keyword

3.4.111.1 与位置无关的代码:

3.4.112 -xcommonchk[ ={yes|no}]

3.4.113 -xdebugformat={ dwarf|stabs}

3.4.114 -xdepend

3.4.115 -xF

3.4.116 -xfilebyteorder= options

3.4.116.1 示例:

3.4.116.2 注:

3.4.117 -xhasc[ ={yes|no}]

3.4.118 -xhelp=flags

3.4.119 -xhwcprof[={enable | disable}]

3.4.120 -xia[={ widestneed|strict}]

3.4.121 -xinline= list

3.4.122 -xinstrument=[%no]datarace

3.4.123 -xinterval[ ={widestneed|strict| no}]

3.4.124 -xipo[ ={0|1|2}]

3.4.125 -xipo_archive[ ={none|readonly| writeback}]

3.4.126 -xivdep[ =p]

3.4.127 -xjobs= n

3.4.128 -xkeepframe[ =[%all,%none,name, no%name]]

3.4.129 -xknown_lib=library_list

3.4.130 -xl

3.4.131 -xlang=f77

3.4.132 -xld

3.4.133 -xlibmil

3.4.134 -xlibmopt

3.4.135 -xlic_lib=sunperf

3.4.136 -xlinkopt[ ={1|2|0}]

3.4.137 -xloopinfo

3.4.138 -xmaxopt[ =n]

3.4.139 -xmemalign[ =<a><b>]

3.4.140 -xmodel=[ small | kernel | medium]

3.4.141 -xnolib

3.4.142 -xnolibmil

3.4.143 -xnolibmopt

3.4.144 -xOn

3.4.145 -xopenmp[={ parallel|noopt|none}]

3.4.146 -xpad

3.4.147 -xpagesize= size

3.4.148 -xpagesize_heap= size

3.4.149 -xpagesize_stack= size

3.4.150 -xpec[ ={yes|no}]

3.4.151 -xpg

3.4.152 -xpp={ fpp|cpp}

3.4.153 -xprefetch[ =a[,a]]

3.4.153.1 缺省:

3.4.153.2 交互:

3.4.153.3 警告:

3.4.154 -xprefetch_auto_type=indirect_array_access

3.4.155 -xprefetch_level={ 1|2|3}

3.4.156 -xprofile= p

3.4.157 -xprofile_ircache[ =path]

3.4.158 -xprofile_pathmap= collect_prefix:use_prefix

3.4.159 -xrecursive

3.4.160 -xreduction

3.4.161 -xregs= r

3.4.162 -xs

3.4.163 -xsafe=mem

3.4.164 -xspace

3.4.165 -xtarget=t

3.4.165.1 通用平台与本机平台

3.4.165.2 SPARC 平台

3.4.165.3 X86 平台

3.4.166 -xtime

3.4.167 -xtypemap= spec

3.4.168 -xunroll= n

3.4.169 -xvector[= a]

3.4.170 -ztext

4.  Solaris Studio Fortran 的功能与扩展

5.  FORTRAN 77 兼容性:迁移到 Solaris Studio Fortran

A.  运行时错误消息

B.  功能发行版历史记录

C.  Fortran 指令摘要

索引

第 3 章

Fortran 编译器选项

本章详细说明 f95 编译器的命令行选项。