Red Hat ENTERPRISE LINUX 3 - USING CPP Using Instructions page 65

Using cpp, the c preprocessor
Hide thumbs Also See for ENTERPRISE LINUX 3 - USING CPP:
Table of Contents

Advertisement

Chapter 12. Invocation
iso9899:1990
c89
The ISO C standard from 1990.
standard.
The
-ansi
iso9899:199409
The 1990 C standard, as amended in 1994.
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.
-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.
option is equivalent to
#include "
directives.
inhibits the use of the directory of the current file directory as the first search
. Refer to Section 2.3 Search Path.
"
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
is the customary shorthand for this version of the
c89
.
-std=c89
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-
61
#
$
.
file

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 3

Table of Contents