From 6d1ab63a59000efa52f9a2d3025e5fec7b853229 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 2 Aug 2005 23:24:28 +0000 Subject: [PATCH] t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. From-SVN: r102670 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/t-mingw32 | 3 +++ gcc/doc/fragments.texi | 6 ++++++ 3 files changed, 14 insertions(+) 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 + + * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. + * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. + 2005-08-02 Richard Henderson 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