OSDN Git Service

* config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / t-cygwin
1 LIBGCC1 = libgcc1-asm.a
2 CROSS_LIBGCC1 = libgcc1-asm.a
3 LIB1ASMSRC = i386/cygwin.asm
4 LIB1ASMFUNCS = _chkstk
5
6 # cygwin always has a limits.h, but, depending upon how we are doing
7 # the build, it may not be installed yet.
8 LIMITS_H_TEST = true
9
10 T_CPPFLAGS=-DCYGWIN_CROSS_DIR=\"$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`\"
11
12 # If we are building next to winsup, this will let us find the real
13 # limits.h when building libgcc2.  Otherwise, winsup must be installed
14 # first.
15 LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/include \
16         -I$(srcdir)/../winsup/cygwin/include \
17         -I$(srcdir)/../winsup/w32api/include
18
19 winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H)
20         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c