From fea4c29fda251ff861fd7760bb9a99fcd0bcd922 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 14 Jul 2002 04:03:01 +0000 Subject: [PATCH] * Makefile.in (cygserver.exe): Add -lstdc++. (cygrun.exe): Move -lgcc last. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/Makefile.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 92d7fa11b..3df7c7fbd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-07-14 Christopher Faylor + + * Makefile.in (cygserver.exe): Add -lstdc++. + (cygrun.exe): Move -lgcc last. + 2002-07-13 Christopher Faylor * dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index d17b23961..0a5605144 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -305,7 +305,7 @@ winver_stamp: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES) cygrun.exe : cygrun.o $(LIB_NAME) $(w32api_lib)/libuser32.a \ $(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a - $(CC) -nodefaultlibs -o $@ -lgcc $^ + $(CC) -nodefaultlibs -o $@ $^ -lgcc cygserver_transport_outside.o: cygserver_transport.cc $(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $< @@ -323,7 +323,7 @@ cygserver_shm.o: cygserver_shm.cc $(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $< cygserver.exe: cygserver.o cygserver_shm.o cygserver_transport_outside.o cygserver_transport_pipes_outside.o cygserver_transport_sockets_outside.o cygserver_client_outside.o cygserver_process.o threaded_queue.o wincap.o version.o smallprint.o - $(CXX) -o $@ $^ + $(CXX) -o $@ $^ -lstdc++ #ifdef VERBOSE # $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,3,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) #else