diff options
Diffstat (limited to 'contrib/gcc/doc/headerdirs.texi')
-rw-r--r-- | contrib/gcc/doc/headerdirs.texi | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/gcc/doc/headerdirs.texi b/contrib/gcc/doc/headerdirs.texi index beac0dd..bc7f07f 100644 --- a/contrib/gcc/doc/headerdirs.texi +++ b/contrib/gcc/doc/headerdirs.texi @@ -6,28 +6,27 @@ @chapter Standard Header File Directories @code{GCC_INCLUDE_DIR} means the same thing for native and cross. It is -where GNU CC stores its private include files, and also where GNU CC -stores the fixed include files. A cross compiled GNU CC runs +where GCC stores its private include files, and also where GCC +stores the fixed include files. A cross compiled GCC runs @code{fixincludes} on the header files in @file{$(tooldir)/include}. (If the cross compilation header files need to be fixed, they must be -installed before GNU CC is built. If the cross compilation header files -are already suitable for ISO C and GNU CC, nothing special need be -done). +installed before GCC is built. If the cross compilation header files +are already suitable for GCC, nothing special need be done). @code{GPLUSPLUS_INCLUDE_DIR} means the same thing for native and cross. It is where @command{g++} looks first for header files. The C++ library installs only target independent header files in that directory. -@code{LOCAL_INCLUDE_DIR} is used only by native compilers. GNU CC +@code{LOCAL_INCLUDE_DIR} is used only by native compilers. GCC doesn't install anything there. It is normally @file{/usr/local/include}. This is where local additions to a packaged system should place header files. -@code{CROSS_INCLUDE_DIR} is used only by cross compilers. GNU CC +@code{CROSS_INCLUDE_DIR} is used only by cross compilers. GCC doesn't install anything there. @code{TOOL_INCLUDE_DIR} is used for both native and cross compilers. It -is the place for other packages to install header files that GNU CC will +is the place for other packages to install header files that GCC will use. For a cross-compiler, this is the equivalent of @file{/usr/include}. When you build a cross-compiler, @code{fixincludes} processes any header files in this directory. |