summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-02 23:24:28 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-02 23:24:28 +0000
commitf9b3ce26b5a7cb525111c269e09341a714f812d0 (patch)
tree6512e8507afa077f599ccf25e36111f6e5a57e1d /gcc
parent90363d185752e6f509ea441173d2052d3f59f263 (diff)
downloadgcc-f9b3ce26b5a7cb525111c269e09341a714f812d0.tar.gz
* config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
* doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/t-mingw323
-rw-r--r--gcc/doc/fragments.texi6
3 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cf11cc3ffd9..97a45980ab6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/t-mingw32 b/gcc/config/i386/t-mingw32
index f67fa1e25a8..8f775314151 100644
--- a/gcc/config/i386/t-mingw32
+++ b/gcc/config/i386/t-mingw32
@@ -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
diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi
index 597c85ef407..00dcc76b20a 100644
--- a/gcc/doc/fragments.texi
+++ b/gcc/doc/fragments.texi
@@ -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