This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to cygwin


The beta versions of cygwin have changed the directory structure, and
the following patch that I committed will work with both the new and
old Cygwin's.

2000-01-24  Christopher Faylor <cgf@cygnus.com>

	* config/i386/t-cygwin: Accomodate new winsup directory layout
	when searching for include files.

*** gcc/config/i386/t-cygwin.~1~	Sat Oct 16 14:22:29 1999
--- gcc/config/i386/t-cygwin	Mon Jan 24 17:44:45 2000
*************** LIMITS_H_TEST = true
*** 10,16 ****
  # 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 $(RTL_H) $(TREE_H)
  	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c
--- 10,18 ----
  # 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 \
! 	-I$(srcdir)/../winsup/cygwin/include \
! 	-I$(srcdir)/../winsup/w32api/include
  
  winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H)
  	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c

-- 
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886
Work:	  meissner@redhat.com		phone: 978-486-9304 fax: 978-692-4482
Non-work: meissner@spectacle-pond.org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]