Sun Java Solaris Communities My SDN Account Join SDN
 
Compiler Options

All Compilation-Mode Options

Sun Studio
Patches
 
Documentation
Code Samples & Apps
Technical Articles & Tips
 
Forums
Blogs
 
 
 
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.
-dryrun C++ F95 Shows each component as it would be invoked, but does not actually execute it. Also shows how command options would expand.
-features C Controls the compiler's treatment of extern inline functions to support code compiled by versions 5.5, or older, of the C and C++ compilers.
-keeptmp C C++ Retains the temporary files that are created during compilation.
-V C F95 Causes each invoked tool to print its version information on the standard error output.
-W C Passes arguments to specific components of the compilation system.
-X C Specifies the degree of conformance to the ISO C standard.
-xc99 C Controls compiler recognition of the implemented features from the C99 standard (ISO/IEC 9899:1999, Programming Language - C).
-xchar C C++ Eases the migration of code from systems where the char type is definedas unsigned.
-xdryrun C Shows each component as it would be invoked, but does not actually execute it. Also shows how command options would expand.
-xhelp C C++ F95 Displays online help for compiler options or latest readme.
-xjobs C C++ F95 Sets compilation for multiple processors.
-xpch C C++ Activates the precompiled-header feature.
-xpchstop C C++ Identifies the last include file to be considered in creating a precompiled-header file.
-xtemp C Sets the directory the compiler uses for temporary files.
-xtime C C++ F95 Causes the CC driver to report execution times for the various compilation passes.
-Y C C++ Specifies a new path for the location of compilation components.
-YA C Specifies a directory dir to search for all compiler components.
-YI C Changes default directory searched for include files.
-YP C Changes default directory for finding library files.
-YS C Changes default directory for startup object files.

Related Links