Option |
Action |
---|---|
+d |
Does not expand C++ inline functions. |
–dryrun |
Shows options passed by the driver to the compiler, but does not compile. |
–E |
Runs only the preprocessor on the C++ source files and sends result to stdout. Does not compile. |
–g |
Compiles for use with the debugger. |
–g0 |
Compiles for debugging, but doesn’t disable inlining. |
–H |
Prints path names of included files. |
–keeptmp |
Retains temporary files created during compilation. |
–migration |
Explains where to get information about migrating from earlier compilers. |
–P |
Only preprocesses source; outputs to .i file. |
–Qoption |
Passes an option directly to a compilation phase. |
–readme |
Displays the content of the online README file. |
–s |
Strips the symbol table out of the executable file, thus preventing the ability to debug code. |
–temp=dir |
Defines directory for temporary files. |
–verbose=vlst |
Controls compiler verbosity. |
-xcheck |
Adds a runtime check for stack overflow. |
-xdumpmacros |
Prints information about macros such as definition, location defined and undefined, and locations used. |
–xe |
Only checks for syntax and semantic errors. |
–xhelp=flags |
Displays a summary list of compiler options. |
–xport64 |
Warns against common problems during a port from a 32-bit architecture to a 64-bit architecture. |
–xs |
Allows debugging with dbx without object (.o) files. |
–xsb |
Produces table information for the source browser. |
–xsbfast |
Produces only source browser information, no compilation. |