diff options
Diffstat (limited to 'gcc/doc/cppopts.texi')
-rw-r--r-- | gcc/doc/cppopts.texi | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index fb8f5c72122..59e6dd6e4b4 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -234,6 +234,12 @@ preprocessed output. When used with the driver options @option{-MD} or @option{-MMD}, @option{-MF} overrides the default dependency output file. +@c APPLE LOCAL begin -dependency-file +@item -dependency-file +@opindex dependency-file @var{name} +Like @option{-MF}. (APPLE ONLY) +@c APPLE LOCAL end -dependency-file + @item -MG @opindex MG In conjunction with an option such as @option{-M} requesting @@ -327,13 +333,17 @@ header is used. @item -x c @itemx -x c++ @itemx -x objective-c +@c APPLE LOCAL Objective-C++ +@itemx -x objective-c++ @itemx -x assembler-with-cpp @opindex x -Specify the source language: C, C++, Objective-C, or assembly. This has +@c APPLE LOCAL Objective-C++ +Specify the source language: C, C++, Objective-C, Objective-C++, or assembly. This has nothing to do with standards conformance or extensions; it merely selects which base syntax to expect. If you give none of these options, cpp will deduce the language from the extension of the source file: -@samp{.c}, @samp{.cc}, @samp{.m}, or @samp{.S}. Some other common +@c APPLE LOCAL Objective-C++ +@samp{.c}, @samp{.cc}, @samp{.m}, @samp{.mm}, or @samp{.S}. Some other common extensions for C++ and assembly are also recognized. If cpp does not recognize the extension, it will treat the file as C; this is the most generic mode. @@ -400,6 +410,7 @@ file directory as the first search directory for @code{@w{#include @ifset cppmanual @xref{Search Path}. @end ifset +This option has been deprecated. @item -nostdinc @opindex nostdinc @@ -466,6 +477,16 @@ is applied to the standard system directories. @xref{System Headers}. @end ifset +@item -iquote @var{dir} +@opindex iquote +Search @var{dir} only for header files requested with +@code{@w{#include "@var{file}"}}; they are not searched for +@code{@w{#include <@var{file}>}}, before all directories specified by +@option{-I} and before the standard system directories. +@ifset cppmanual +@xref{Search Path}. +@end ifset + @item -fdollars-in-identifiers @opindex fdollars-in-identifiers @anchor{fdollars-in-identifiers} |