summaryrefslogtreecommitdiff
path: root/contrib/gcc/config/i386/t-cygwin32
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/t-cygwin32')
-rw-r--r--contrib/gcc/config/i386/t-cygwin3216
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/t-cygwin32 b/contrib/gcc/config/i386/t-cygwin32
new file mode 100644
index 0000000000000..20bc9803b1ecd
--- /dev/null
+++ b/contrib/gcc/config/i386/t-cygwin32
@@ -0,0 +1,16 @@
+LIBGCC1 = libgcc1-asm.a
+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