* Makefile.in (cygserver.exe): Add -lstdc++.

(cygrun.exe): Move -lgcc last.
This commit is contained in:
Christopher Faylor 2002-07-14 04:03:01 +00:00
parent 613219252e
commit fea4c29fda
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-14 Christopher Faylor <cgf@redhat.com>
* Makefile.in (cygserver.exe): Add -lstdc++.
(cygrun.exe): Move -lgcc last.
2002-07-13 Christopher Faylor <cgf@redhat.com> 2002-07-13 Christopher Faylor <cgf@redhat.com>
* dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap * dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap

View File

@ -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 \ cygrun.exe : cygrun.o $(LIB_NAME) $(w32api_lib)/libuser32.a \
$(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a $(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a
$(CC) -nodefaultlibs -o $@ -lgcc $^ $(CC) -nodefaultlibs -o $@ $^ -lgcc
cygserver_transport_outside.o: cygserver_transport.cc cygserver_transport_outside.o: cygserver_transport.cc
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $< $(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $<
@ -323,7 +323,7 @@ cygserver_shm.o: cygserver_shm.cc
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $< $(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 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 #ifdef VERBOSE
# $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,3,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) # $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,3,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS)
#else #else