* i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 1998 19:04:40 +0000 (19:04 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 1998 19:04:40 +0000 (19:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17539 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/t-cygwin32

index 372a516..c2fad10 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 28 20:04:43 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
+
 Wed Jan 28 11:45:27 1998  Per Bothner  <bothner@cygnus.com>
 
        * dbxout.c (dbxout_type):  For a RECORD_TYPE, check that TYPE_BINFO
index 4be2477..20bc980 100644 (file)
@@ -3,5 +3,14 @@ CROSS_LIBGCC1 = libgcc1-asm.a
 LIB1ASMSRC = i386/cygwin32.asm
 LIB1ASMFUNCS = _chkstk
 
+# cygwin32 always has a limits.h, but, depending upon how we are doing
+# the build, it may not be installed yet.
+LIMITS_H_TEST = true
+
+# If we are building next to winsup, this will let us find the real
+# limits.h when building libgcc2.  Otherwise, winsup must be installed
+# first.
+LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/include
+
 winnt.o: $(srcdir)/config/i386/winnt.c
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c