From e742b08ad39ee57ea08d75e3821f5d8e7e8973e1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 26 Oct 2001 04:16:23 +0000 Subject: [PATCH] cygwin.h: Search target specfic include directory, if appropriate. * config/i386/cygwin.h: Search target specfic include directory, if appropriate. From-SVN: r46524 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/cygwin.h | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24e0a2f8d95..640b61221d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-10-26 Christopher Faylor + + * config/i386/cygwin.h: Search target specfic include directory, if + appropriate. + 2001-10-25 Kaveh R. Ghazi * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 2abf4c14aa3..84b0d153726 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -75,14 +75,17 @@ Boston, MA 02111-1307, USA. */ "-isystem " CYGWIN_CROSS_DIR "/include/mingw/g++ "\ "-idirafter " CYGWIN_CROSS_DIR "/include/mingw}" #else -#define CYGWIN_INCLUDES "%{!nostdinc:-isystem /usr/local/include -idirafter /usr/include}" +#define CYGWIN_INCLUDES "%{!nostdinc:-isystem /usr/local/include "\ + "-idirafter " CYGWIN_CROSS_DIR "/include "\ + "-idirafter /usr/include}" #define W32API_INC "%{!nostdinc:-idirafter /usr/include/w32api}" #define W32API_LIB "-L/usr/lib/w32api/" #define CYGWIN_LIB "/usr/lib" #define MINGW_LIBS "-L/usr/local/lib/mingw -L/usr/lib/mingw" #define MINGW_INCLUDES "%{!nostdinc:-isystem /usr/include/mingw/g++-3 "\ "-isystem /usr/include/mingw/g++ "\ - "-isystem /usr/local/include/mingw " \ + "-isystem /usr/local/include/mingw "\ + "-idirafter " CYGWIN_CROSS_DIR "/include/mingw "\ "-idirafter /usr/include/mingw}" #endif