This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
cygwin dependancy fix
- To: gcc-patches at gcc dot gnu dot org
- Subject: cygwin dependancy fix
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sat, 16 Oct 1999 11:23:33 -0700
Otherwise make -j will try to build winnt.o before tree-check.h
is built.
r~
* i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
* i386/t-winnt: Likewise.
Index: gcc/config/i386/t-cygwin
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/t-cygwin,v
retrieving revision 1.2
diff -c -p -d -r1.2 t-cygwin
*** t-cygwin 1998/12/16 21:04:25 1.2
--- t-cygwin 1999/10/16 18:19:07
*************** LIMITS_H_TEST = true
*** 12,16 ****
# 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
--- 12,16 ----
# first.
LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/include
! winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c
Index: gcc/config/i386/t-winnt
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/t-winnt,v
retrieving revision 1.2
diff -c -p -d -r1.2 t-winnt
*** t-winnt 1998/12/16 21:04:41 1.2
--- t-winnt 1999/10/16 18:19:07
***************
*** 1,4 ****
! winnt.o: $(srcdir)/config/i386/winnt.c
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c
oldnames.o: $(srcdir)/config/winnt/oldnames.c
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/winnt/oldnames.c
--- 1,4 ----
! winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c
oldnames.o: $(srcdir)/config/winnt/oldnames.c
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/winnt/oldnames.c