| Option | Language | Meaning |
|---|---|---|
| -compat | C++ | Sets the major release compatibility mode of the compiler. |
| +e | C++ | Controls virtual table generation in compatibility mode (-compat[=4]). |
| -g | C C++ F95 | Instructs both the compiler and the linker to prepare the file or program for debugging. |
| -mt | C C++ F95 | Indicates compilation and linking for multithreaded code. |
| +w | C++ | Identifies code that might have unintended consequences. |
| +w2 | C++ | Emits the same warnings as +w as well as warnings about technical violations that are probably harmless, but that might reduce the maximum portability of your program. |
| -xcode | C C++ F95 | Specifies code address space. |
| -xMerge | C++ | Merges the data segment of the object files with the text segment. |
| -xMerge | C | Merges the data segment of the object files with the text segment. |
| -xmodel | C C++ F95 | 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. |
| -xregs | C C++ F95 | Makes available additional scratch registers for use during compilation. |