t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
authorMark Mitchell <mark@codesourcery.com>
Tue, 2 Aug 2005 23:24:28 +0000 (23:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Aug 2005 23:24:28 +0000 (23:24 +0000)
* config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
* doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it.

From-SVN: r102670

gcc/ChangeLog
gcc/config/i386/t-mingw32
gcc/doc/fragments.texi

index cf11cc3..97a4598 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
+       * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it.
+
 2005-08-02  Richard Henderson  <rth@redhat.com>
 
        PR 23196
index f67fa1e..8f77531 100644 (file)
@@ -1,2 +1,5 @@
 # We hide calls to w32api needed for w32 thread support here:
 LIB2FUNCS_EXTRA = $(srcdir)/config/i386/gthr-win32.c
+
+# Match SYSTEM_INCLUDE_DIR
+NATIVE_SYSTEM_HEADER_DIR = /mingw/include
index 597c85e..00dcc76 100644 (file)
@@ -151,6 +151,12 @@ compiler.  In that case, set @code{MULTILIB_EXTRA_OPTS} to be the list
 of options to be used for all builds.  If you set this, you should
 probably set @code{CRTSTUFF_T_CFLAGS} to a dash followed by it.
 
+@findex NATIVE_SYSTEM_HEADER_DIR
+@item NATIVE_SYSTEM_HEADER_DIR
+If the default location for system headers is not @file{/usr/include},
+you must set this to the directory containing the headers.  This value
+should match the value of the @code{SYSTEM_INCLUDE_DIR} macro.
+
 @findex SPECS
 @item SPECS
 Unfortunately, setting @code{MULTILIB_EXTRA_OPTS} is not enough, since