Red Hat ENTERPRISE LINUX 4 Manual page 88

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

80
-P
Inhibit generation of linemarkers in the output from the preprocessor. This might be useful when
running the preprocessor on something that is not C code, and will be sent to a program which
might be confused by the linemarkers.
-C
Do not discard comments. All comments are passed through to the output file, except for com-
ments in processed directives, which are deleted along with the directive.
You should be prepared for side effects when using
ments as tokens in their own right. For example, comments appearing at the start of what would
be a directive line have the effect of turning that line into an ordinary source line, since the first
token on the line is no longer a
-CC
Do not discard comments, including during macro expansion. This is like
ments contained within macros are also passed through to the output file where the macro is
expanded.
In addition to the side-effects of the
inside a macro to be converted to C-style comments. This is to prevent later use of that macro
from inadvertently commenting out the remainder of the source line.
The
option is generally used to support lint comments.
-CC
-traditional-cpp
Try to imitate the behavior of old-fashioned C preprocessors, as opposed to ISO C preprocessors.
-trigraphs
Process trigraph sequences. These are three-character sequences, all starting with
defined by ISO C to stand for single characters. For example,
character constant for a newline. By default, GCC ignores trigraphs, but in standard-conforming
modes it converts them. See the
The nine trigraphs and their replacements are
Trigraph:
Replacement:
-remap
Enable special code to work around file systems which only permit very short file names, such
as MS-DOS.
-help
-target-help
Print text describing all the command line options instead of preprocessing anything.
-v
Verbose mode. Print out GNU CPP's version number at the beginning of execution, and report
the final form of the include path.
-H
Print the name of each header file used, in addition to other normal activities. Each name is
indented to show how deep in the
.
#
option, the
-C
and
-std
??(
??)
??
[
]
{
#include
Chapter 4. GCC Command Options
; it causes the preprocessor to treat com-
-C
option causes all C++-style comments
-CC
??/
options.
-ansi
??
??=
??/
}
#
\
stack it is. Precompiled header files are also printed,
, except that com-
-C
stands for
, so
\
'??/n'
??'
??!
??-
^
|
~
, that are
??
is a

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?

Table of Contents