| Option |
Language |
Meaning |
| -# |
C
|
Turns on verbose modes, showing how command options expand. Shows
each component as it is invoked.
|
| -### |
C
|
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
| +d |
C++
|
Prevents the compiler from expanding C++ inline functions. |
| -dryrun |
C++ F95
|
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
| -E |
C C++
|
Directs the CC driver to only preprocess the C++ source files,
and to send the result to stdout (standard output).
|
| -g |
C C++ F95
|
Instructs both the compiler and the linker to prepare the file or program for debugging. |
| -g0 |
C++
|
Instructs the compiler to prepare the file or program for debugging,
but not to disable inlining.
|
| -H |
C C++
|
Prints the path name of each include file contained in the
current compilation to the standard error output.
|
| -keeptmp |
C C++
|
Retains the temporary files that are created during compilation. |
| -migration |
C++
|
Explains where to get information about migrating source code that
was built for earlier versions of the compiler.
|
| -P |
C C++
|
Only preprocesses source; does not compile. |
| -Q |
C++ F95
|
Passes compiler options to a specific phase of the compilation
process.
|
| -Q |
C
|
Emits identification information to the output file. |
| -s |
C C++ F95
|
Strips the symbol table from the executable file. |
| -temp |
C++ F95
|
Defines the directory for temporary files. |
| -verbose |
C++
|
Controls compiler verbosity. |
| -Xlist |
F95
|
Finds potential programming bugs. Invokes an extra compiler pass to
check for consistency in calls and common across the global program.
|
| -xcheck |
C C++ F95
|
Enables a runtime check for stack overflow. |
| -xdebugformat |
C C++ F95
|
Identifies the format of debugger information |
| -xdryrun |
C
|
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
| -xdumpmacros |
C++
|
Shows how macros are behaving in your program. |
| -xe |
C C++
|
Checks only for syntax and semantic errors. |
| -xhelp |
C C++ F95
|
Displays online help for compiler options or latest readme. |
| -xport64 |
C++
|
Helps you port code to a 64-bit environment. |
| -xs |
C C++ F95
|
Allows debugging by dbx without object files. |
| -xsb |
C
|
Generates extra symbol table information for the Source Browser. |
| -xsbfast |
C
|
Creates the database for the Source Browser, but does not actually compile. |