Option |
Language |
Meaning |
-A |
C
|
Associate a predicate with the specified tokens as if by a
#assert preprocessing directive.
|
-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).
|
-e |
F95
|
Extend source line maximum length to 132 characters. |
-fd |
C
|
Reports K&R style function declarations and definitions. |
-fixed |
F95
|
Assumes fixed-format source input. |
-free |
F95
|
Assume free-format source input. |
-H |
C C++
|
Prints the path name of each include file contained in the
current compilation to the standard error output.
|
-I |
C C++ F95
|
Adds a pathname to the list of directories that are searched
for #include files with relative file paths.
|
-I- |
C C++
|
Change the include-file search rules. |
-P |
C C++
|
Only preprocesses source; does not compile. |
-U |
F95
|
Recognizes upper and lower case in source files. |
-X |
C
|
Specifies the degree of conformance to the ISO C standard. |
-xCC |
C
|
The compiler accepts C++-style comments when you specify both
-xc99=none and -xCC.
|
-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
defined as unsigned.
|
-xcsi |
C
|
Allows the C compiler to accept source code written in locales that
do not conform to the ISO C source character code requirements.
|
-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.
|
-xM |
C C++
|
Runs only the preprocessor on the named C++ programs, requesting
that it generate makefile dependencies and send the result to the standard
outputx
|
-xMD |
C
|
Generates makefile dependencies, including compilation. |
-xMF |
C
|
Specifies a filename for makefile-dependency output. |
-xMMD |
C
|
Generates makefile dependencies excluding system headers and including
compilation.
|
-xP |
C
|
Performs only syntax and semantic checking on the source file in
order to print prototypes for all K&R C functions.
|
-xsbfast |
C
|
Creates the database for the Source Browser, but does not actually compile. |
-xtrigraphs |
C C++
|
Enables or disables recognition of trigraph sequences as defined by
the ISO/ANSI C standard.
|
-xustr |
C C++
|
Enables compiler recognition of UTF-16 character strings and
literals.
|