This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ix86-pc-uwin small config fix.
- To: egcs-patches at egcs dot cygnus dot com
- Subject: ix86-pc-uwin small config fix.
- From: Mumit Khan <khan at xraylith dot wisc dot EDU>
- Date: Tue, 15 Jun 1999 08:51:33 -0500
The following change fixes a goof I had made when I first submitted the
ix86-pc-uwin config files. Using -iprefix and -iwithprefix causes some
subtle problems when creating relocatable distributions, and interferes
with setting of GCC_EXEC_PREFIX; -idirafter is a lot better in this case
(/usr/gnu/include/mingw32 is meant to go in the second include path).
This should go in the release branch as well.
Tue Jun 15 08:43:13 1999 Mumit Khan <khan@xraylith.wisc.edu>
* i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
-iwithprefix.
Index: config/i386/uwin.h
===================================================================
RCS file: /homes/khan/src/CVSROOT/gcc-2.95/gcc/config/i386/uwin.h,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 uwin.h
--- config/i386/uwin.h 1999/06/14 21:05:25 1.1.1.1
+++ config/i386/uwin.h 1999/06/15 13:43:06
@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_SPEC
#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
-include /usr/include/astwin32.h \
- -iprefix /usr/gnu/include -iwithprefix /mingw32"
+ -idirafter /usr/gnu/include/mingw32"
/* For Windows applications, include more libraries, but always include
kernel32. */
Regards,
Mumit