| Option |
Meaning |
| -a |
Use -xprofile=tcov instead. |
| -aligncommon |
Specifies the alignment of data in common blocks and standard numeric
sequence types.
|
| -ansi |
Identifies non-standard extensions. |
| -arg |
Preserves actual arguments over ENTRY statements. |
| -autopar |
Enables automatic loop parallelization. |
| -B |
Specifies whether a library binding for linking is symbolic, dynamic
(shared), or static (nonshared).
|
| -C |
Checks array references for out of range subscripts and
conformance.
|
| -c |
Suppresses linking with the linker and, instead, produces a .o file
for each source file.
|
| -cg |
Use -xcg instead. |
| -copyargs |
Allows assignment to constant arguments. |
| -Dname |
Defines a macro symbol name to the preprocessor. |
| -d |
Allows or disallows dynamic libraries for the entire executable. |
| -dalign |
Use -xmemalign instead. |
| -dbl_align_all |
Force alignment of data on 8-byte boundaries. |
| -depend |
Analyze loops for data dependence and restructuring. |
| -dryrun |
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
| -e |
Extend source line maximum length to 132 characters. |
| -erroff |
Suppresses compiler warning messages but has no effect on error messages.
|
| -errtags |
Displays the message tag for each warning message of the compiler
front-end that can be suppressed with the -erroffoption or made a fatal
error with the -errwarn option.
|
| -errwarn |
Causes the compiler to exit with a failure status for the given
warning messages.
|
| -explicitpar |
Use -xexplicitpar instead. |
| -ext_names |
Create external names with or without underscores. |
| -F |
Invoke the source file preprocessor, but do not compile. |
| -f |
Align double- and quad-precision data in COMMON blocks. |
| -f77 |
Select Fortran 77 compatibility mode. |
| -fast |
This option is a macro that you can effectively use as a starting
point for tuning an executable for maximum run-time performance.
|
| -fixed |
Assumes fixed-format source input. |
| -flags |
Same as -xhelp=flags. |
| -fnonstd |
Causes hardware traps to be enabled for floating-point overflow,
division by zero, and invalid operations exceptions.
|
| -fns |
Enables the nonstandard floating-point mode on SPARC and selects
SSE flush-to-zero mode and, where available, denormals-are-zero mode for x86.
|
| -fpover |
Detects floating-point overflow in formatted input. |
| -fpp |
Force preprocessing of input files with fpp. |
| -fprecision |
Sets floating-point rounding precision mode. |
| -free |
Assume free-format source input. |
| -fround |
Sets the IEEE rounding mode in effect at startup. |
| -fsimple |
Selects floating-point optimization preferences. |
| -fstore |
Forces precision of floating-point expressions. |
| -ftrap |
Sets the IEEE trapping mode in effect at startup but does not
install a SIGFPE handler.
|
| -G |
Build a dynamic shared library instead of an executable file. |
| -g |
Instructs both the compiler and the linker to prepare the file or program for debugging. |
| -h |
Assign a name to the generated shared dynamic library. |
| -help |
See -xhelp. |
| -I |
Adds a pathname to the list of directories that are searched
for #include files with relative file paths.
|
| -inline |
Use -xinline instead. |
| -iorounding |
Sets the rounding mode forformatted input/output. |
| -KPIC |
Use -xcode=pic32 instead. |
| -Kpic |
Use -xcode=pic13 instead. |
| -L |
Adds a path to thelibrarysearch paths. |
| -l |
Adds dynamic or static library to linker's list of search libraries. |
| -libmil |
Use -xlibmil instead. |
| -loopinfo |
Shows which loops are parallelized. |
| -M |
Specify MODULE directory, archive, or file. |
| -moddir |
Specifies the path to a directory where the compiler will write
.mod MODULE files.
|
| -mp |
Select Sun or Cray parallelization directives. |
| -mt |
Indicates compilation and linking for multithreaded code. |
| -native |
Use -xtarget=native instead. |
| -noautopar |
Cancels -autopar on the command line. |
| -nodepend |
Cancels -depend on the command line. |
| -noexplicitpar |
Cancels -explicitpar on the command line. |
| -nofstore |
Disables forced precision of expression. |
| -nolib |
Use -xnolib instead. |
| -nolibmil |
Use -xnolibmil instead. |
| -noreduction |
Cancels -reduction on the command line. |
| -norunpath |
Does not build the path for shared libraries into the executable.
|
| -O |
Macro for -x03. Note: use the capital letter o for this option, not
zero.
|
| -o |
Sets the name of the output file (with the suffix .o) or the
executable file.
|
| -onetrip |
Enables one-trip DO loops. |
| -openmp |
Enable explicit parallelization with Fortran 95 OpenMP version 2.5
directives.
|
| -p |
Use -g and the performance analyzer analyzer(1) instead. |
| -pad |
Insert padding for efficient use of cache. |
| -parallel |
Enables a combination of automatic and explicit parallelization
features.
|
| -pg |
Prepares the object code to collect data for profiling with
gprof(1).
|
| -PIC |
SPARC: Same as -xcode=pic32. x86: Same as -KPIC. |
| -pic |
SPARC: Same as -xcode=pic13. x86: Same as -Kpic.
|
| -Q |
Passes compiler options to a specific phase of the compilation
process.
|
| -qp |
Same as -p. |
| -R |
Builds dynamic library search paths into the executable file. |
| -r8const |
Promotes single-precision constants to REAL*8 constants. |
| -reduction |
Parallelizes reduction operations in loops. |
| -S |
Compiles and generates only assembly code. |
| -s |
Strips the symbol table from the executable file. |
| -sb |
Obsolete. Produces table information for the source code browser.
|
| -sbfast |
Obsolete. Produce only source code browser tables. |
| -silent |
Suppresses compiler messages. |
| -stackvar |
Forces all local variables to be allocated on the stack. |
| -stop_status |
Permits STOP statement to return an integer status value. |
| -temp |
Defines the directory for temporary files. |
| -time |
Shows execution time for each compilation phase. |
| -U |
Recognizes upper and lower case in source files. |
| -Uname |
Removes any initial definition of the named macro symbol that was
created by -D on the same command line, including those implicitly
placed there bythe command-line driver.
|
| -u |
Reports undeclared variables. |
| -unroll |
Enables unrolling of DO loops n times where possible. |
| -use |
Specifies implicit MODULE usage, globally. |
| -V |
Causes each invoked tool to print its version information on the
standard error output.
|
| -v |
Verbose mode - shows compilation details. |
| -vax |
Specifies choice of VAX VMS Fortran extensions enabled. |
| -vpara |
Shows parallelization warning messages. |
| -w |
Suppresses warning messages. |
| -Xlist |
Finds potential programming bugs. Invokes an extra compiler pass to
check for consistency in calls and common across the global program.
|
| -x386 |
Use -xchip=generic instead. |
| -x486 |
Use -xchip=generic instead. |
| -xa |
Generates code for profiling. |
| -xalias |
Allows the compiler to perform type-based alias-analysis. |
| -xarch |
Specifies the target architecture instruction set (ISA). |
| -xassume_control |
Sets parameters to control ASSUME pragmas. |
| -xautopar |
Turns on automatic parallelization for multiple processors. |
| -xbinopt |
Instructs the compiler to prepare the binary for later optimizations, transformations and analysis (see binopt(1)). |
| -xcache |
Defines the cache properties for use by the optimizer. |
| -xcg |
Do not use this option, the current Solaris operating systems no
longer support the SPARC V7 architecture.
|
| -xcheck |
Enables a runtime check for stack overflow. |
| -xchip |
Specifies the target processor for use by the optimizer. |
| -xcode |
Specifies code address space. |
| -xcommonchk |
Enables runtime checking of common block inconsistencies. |
| -xcrossfile |
Enables optimization and inlining across source files. |
| -xdebugformat |
Identifies the format of debugger information |
| -xdepend |
Analyzes loops for inter-iteration data dependencies and performs
loop restructuring.
|
| -xexplicitpar |
Parallelizes the loops that are specified. |
| -xF |
Enables the optimal reordering of functions and variables by the
linker.
|
| -xfilebyteorder |
Support file sharing between little-endian and big-endian platforms.
|
| -xhasc |
Treat Hollerith constant as character string in actual argument lists.
|
| -xhelp |
Displays online help for compiler options or latest readme. |
| -xia |
Links the appropriate interval arithmetic libraries and sets a
suitable floating-point environment.
|
| -xinline |
Specifies which user-written routines can be inlined by the
optimizer at -xO3 or higher.
|
| -xinterval |
Enable processing of interval arithmetic extensions. |
| -xipo |
Performs interprocedural optimizations. |
| -xipo_archive |
Enables the compiler to optimize object files that are passed to
the linker with object files that were compiled with -xipo and that reside in
the archive library (.a) before producing an executable.
|
| -xjobs |
Sets compilation for multiple processors. |
| -xknown_lib |
Recognize calls to a known library. |
| -xlang |
Includes the appropriate runtime libraries and ensures the proper
runtime environment for the specified language.
|
| -xlibmil |
Inlines selected library routines for optimization. |
| -xlibmopt |
Uses a library of optimized math routines. |
| -xlic_lib |
Use -library=sunperf instead. |
| -xlicinfo |
Obsolete: This option is silently ignored by the compiler. |
| -xlinkopt |
Performs link-time optimizations on relocatable object files. |
| -xloopinfo |
Shows which loops are parallelized and which are not. |
| -xmaxopt |
Limits the level of the opt pragma. |
| -xmemalign |
Specifies the maximum assumed memory alignment and the behavior of
misaligned data accesses.
|
| -xmodel |
Enables the compiler to modify the form of 64-bit objects for the
Solaris x86 platforms and should only be specified for the compilation of such
objects.
|
| -xnolib |
Disables linking with default system libraries. |
| -xnolibmil |
Cancels -xlibmil on the command line. |
| -xnolibmopt |
Does not use the math routine library by turning off any previously
specified -xlibmopt options.
|
| -xO |
Specifies optimization level. |
| -xopenmp |
Enable explicit parallelization with OpenMP directives. |
| -xpad |
Insert padding for efficient use of cache. |
| -xpagesize |
Set the preferred page size for the stack and the heap. |
| -xpagesize_heap |
Set the preferred page size for the heap. |
| -xpagesize_stack |
Set the preferred page size for the stack. |
| -xparallel |
Parallelizes loops both automatically (by the compiler) and
explicitly (as specified by the programmer).
|
| -xpg |
Compiles for profiling with the gprof profiler. |
| -xpp |
Selects the source file preprocessor to be used with .F .F95 .F03
files.
|
| -xprefetch |
Enables and adjusts prefetch instructions on those architectures
that support prefetch.
|
| -xprefetch_auto_type |
Determines whether or not the compiler generates indirect prefetches
for the loops indicated by the -xprefetch_level option in the same
fashionthat the prefetches for direct memory accesses are generated.
|
| -xprefetch_level |
Controls the aggressiveness of automatic insertion of prefetch
instructions as determined with -xprefetch=auto.
|
| -xprofile |
Collects or optimizes with runtime profiling data. |
| -xprofile_ircache |
Improves compilation time during the use phase of
-xprofile by reusing compilation data saved from the collect
phase of -xprofile.
|
| -xrecursive |
Allows routines defined without RECURSIVE attribute to call
themselves recursively.
|
| -xreduction |
Analyzes loops for reduction in automatic parallelization. |
| -xregs |
Makes available additional scratch registers for use during
compilation.
|
| -xs |
Allows debugging by dbx without object files. |
| -xsafe |
Allows the compiler to assume that no memory protection violations
occur.
|
| -xsb |
Obsolete. Synonym for -sb. |
| -xsbfast |
Obsolete. Synonym for -sbfast. |
| -xspace |
Does not allow optimizations that increase code size. |
| -xtarget |
Specifies the target system for instruction set and optimization.
|
| -xtime |
Causes the CC driver to report execution times for the various
compilation passes.
|
| -xtypemap |
Specify default data mappings. |
| -xunroll |
Enables unrolling of loops where possible. |
| -xvector |
Enables automatic generation of calls to the vector library and/or
the generation of the SIMD (Single Instruction Multiple Data) instructions.
|
| -ztext |
Make no library with relocations. |