From 194d9eb318403b1618c3f77eba6de4e17b7c900d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 12 May 2003 11:06:27 +0000 Subject: * Makefile.in (CYGWIN_START): Define as crt0.o. Add to TARGET_LIBS. * fhandler.h (fhandler_virtual::fstat): Remove useless declaration. * fhandler_virtual.cc: Remove _COMPILING_NEWLIB define. * ipc.cc (ftok): Use stat64. * syscalls.cc (_fstat64): Remove alias. (_fstat): Ditto. (_stat): Ditto. (_fstat64_r): New function. (_fstat_r): Ditto. (_stat64_r): Ditto. (stat_r): Ditto. * crt0.o: New file, moved from newlib. * include/sys/param.h: Ditto. * include/sys/utime.h: Ditto. * include/sys/utmp.h: Ditto. * include/sys/dirent.h: Ditto. Expose different struct dirent, dependening of the environment. --- winsup/cygwin/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/Makefile.in') diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 4c3339ccd..0301f64d4 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -123,6 +123,7 @@ DEF_FILE:=cygwin.def DLL_ENTRY:=@DLL_ENTRY@ LIBGMON_A:=libgmon.a +CYGWIN_START:=crt0.o GMON_START:=gcrt0.o # Some things want these from libc, but they have their own static @@ -237,7 +238,7 @@ PWD:=${shell pwd} SUBLIBS:=libpthread.a $(PWD)/libm.a libc.a EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a INSTOBJS:=automode.o binmode.o textmode.o -TARGET_LIBS:=$(LIB_NAME) $(SUBLIBS) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS) +TARGET_LIBS:=$(LIB_NAME) $(SUBLIBS) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS) .PHONY: all force dll_ofiles install all_target install_target all_host install_host \ install install-libs install-headers -lgcc -- cgit v1.2.3