Sun Java Solaris Communities My SDN Account Join SDN
 
Compiler Options

All Preprocessor Options

Sun Studio
Patches
 
Documentation
Code Samples & Apps
Technical Articles & Tips
 
Forums
Blogs
 
 
 
Option Language Meaning
-Dname C C++ F95 Defines a macro symbol name to the preprocessor.
-E C C++ Directs the CC driver to only preprocess the C++ source files, and to send the result to stdout (standard output).
-H C C++ Prints the path name of each include file contained in the current compilation to the standard error output.
-P C C++ Only preprocesses source; does not compile.
-Uname C C++ F95 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.
-xM C C++ Runs only the preprocessor on the named C++ programs, requesting that it generate makefile dependencies and sendthe result to the standard outputx
-xM1 C C++ 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.

Related Links