Option |
Meaning |
-# |
Turns on verbose modes, showing how command options expand. Shows
each component as it is invoked.
|
-### |
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
-c |
Suppresses linking with the linker and, instead, produces a .o file
for each source file.
|
-E |
Directs the CC driver to only preprocess the C++ source files,
and to send the result to stdout (standard output).
|
-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.
|
-G |
Build a dynamic shared library instead of an executable file. |
-H |
Prints the path name of each include file contained in the
current compilation to the standard error output.
|
-o |
Sets the name of the output file (with the suffix .o) or the
executable file.
|
-P |
Only preprocesses source; does not compile. |
-Q |
Emits identification information to the output file. |
-S |
Compiles and generates only assembly code. |
-s |
Strips the symbol table from the executable file. |
-v |
Performs more and stricter semantic checks, and enables certain
lint-like checks on the named C files.
|
-w |
Suppresses warning messages. |
-xdryrun |
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
-xe |
Checks only for syntax and semantic errors. |
-xhelp |
Displays online help for compiler options or latest readme. |
-xM1 |
Same as -xM, except that this option does not report
dependencies for the /usr/include header files and it does not report
dependencies for compiler-supplied header files.
|
-xM |
Runs only the preprocessor on the named C++ programs, requesting
that it generate makefile dependencies and send the result to the standard
outputx
|
-xsbfast |
Creates the database for the Source Browser, but does not actually compile. |
-xtime |
Causes the CC driver to report execution times for the various
compilation passes.
|
Option |
Meaning |
-c |
Suppresses linking with the linker and, instead, produces a .o file
for each source file.
|
-dryrun |
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
-E |
Directs the CC driver to only preprocess the C++ source files,
and to send the result to stdout (standard output).
|
-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.
|
-filt |
Suppress the filtering that the C++ compiler normally applies to
linker error messages.
|
-G |
Build a dynamic shared library instead of an executable file. |
-H |
Prints the path name of each include file contained in the
current compilation to the standard error output.
|
-migration |
Explains where to get information about migrating source code that
was built for earlier versions of the compiler.
|
-o |
Sets the name of the output file (with the suffix .o) or the
executable file.
|
-P |
Only preprocesses source; does not compile. |
-S |
Compiles and generates only assembly code. |
-s |
Strips the symbol table from the executable file. |
-verbose |
Controls compiler verbosity. |
+w |
Identifies code that might have unintended consequences. |
+w2 |
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.
|
-w |
Suppresses warning messages. |
-xdumpmacros |
Shows how macros are behaving in your program. |
-xe |
Checks only for syntax and semantic errors. |
-xhelp |
Displays online help for compiler options or latest readme. |
-xM1 |
Same as -xM, except that this option does not report
dependencies for the /usr/include header files and it does not report
dependencies for compiler-supplied header files.
|
-xM |
Runs only the preprocessor on the named C++ programs, requesting
that it generate makefile dependencies and send the result to the standard
outputx
|
-xtime |
Causes the CC driver to report execution times for the various
compilation passes.
|
-xwe |
Converts all warnings to errors by returning non-zero exit status.
|
-z |
Link editor option. |
Option |
Meaning |
-c |
Suppresses linking with the linker and, instead, produces a .o file
for each source file.
|
-dryrun |
Shows each component as it would be invoked, but does not actually
execute it. Also shows how command options would expand.
|
-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.
|
-G |
Build a dynamic shared library instead of an executable file. |
-o |
Sets the name of the output file (with the suffix .o) or the
executable file.
|
-S |
Compiles and generates only assembly code. |
-s |
Strips the symbol table from the executable file. |
-v |
Verbose mode - shows compilation details. |
-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.
|
-xhelp |
Displays online help for compiler options or latest readme. |
-xtime |
Causes the CC driver to report execution times for the various
compilation passes.
|