Red Hat ENTERPRISE LINUX 4 Manual page 85

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

Advertisement

Chapter 4. GCC Command Options
iso9899:1999
c99
iso9899:199x
c9x
The revised ISO C standard, published in December 1999. Before publication, this was
known as C9X.
gnu89
The 1990 C standard plus GNU extensions. This is the default.
gnu99
gnu9x
The 1999 C standard plus GNU extensions.
c++98
The 1998 ISO C++ standard plus amendments.
gnu++98
The same as
-I-
Split the include path. Any directories specified with
for headers requested with
If additional directories are specified with
for all
#include
In addition,
-I-
directory for
#include "
-nostdinc
Do not search the standard system directories for header files. Only the directories you have
specified with
-I
-nostdinc++
Do not search for header files in the C++-specific standard directories, but do still search the
other standard directories. (This option is used when building the C++ library.)
-include
file
Process
as if
file
However, the first directory searched for
the directory containing the main source file. If not found there, it is searched for in the remainder
of the
#include "..."
If multiple
-include
command line.
-imacros
file
Exactly like
-include
Macros it defines remain defined. This allows you to acquire all the macros from a header without
also processing its declarations.
All files specified by
plus GNU extensions. This is the default for C++ code.
-std=c++98
#include "
directives.
inhibits the use of the directory of the current file directory as the first search
.
"
file
options (and the directory of the current file, if appropriate) are searched.
#include "file"
search chain as normal.
options are given, the files are included in the order they appear on the
, except that any output produced by scanning
are processed before all files specified by
-imacros
options before
-I
; they are not searched for
"
file
options after the
-I
appeared as the first line of the primary source file.
is the preprocessor's working directory instead of
file
are searched only
-I-
#include
, those directories are searched
-I-
is thrown away.
file
-include
77
.
file
.

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