Message-Id: <200106111230.f5BCUbo06325@hal.astr.lu.lv> Content-Type: text/plain; charset="iso-8859-13" From: Andris Pavenis To: djgpp-workers AT delorie DOT com Subject: [PATCH] Link mkdoc with libstdc++ Date: Mon, 11 Jun 2001 15:30:37 +0300 X-Mailer: KMail [version 1.2.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Reply-To: djgpp-workers AT delorie DOT com Some time ago I posted patch to link mkdoc with libstdc++ (it is needed for gcc-3.0). Verified to work both for native build and cross-building under Linux. OK to commit? Andris Index: djgpp/src/makefile.def =================================================================== RCS file: /cvs/djgpp/djgpp/src/makefile.def,v retrieving revision 1.3 diff -p -3 -r1.3 makefile.def *** djgpp/src/makefile.def 1999/12/14 11:34:30 1.3 --- djgpp/src/makefile.def 2001/06/11 12:12:40 *************** AR = ar *** 36,41 **** --- 36,42 ---- LD = ld STRIP = strip BISON = bison + LIBSTDCXX = -lstdcxx else *************** AR = ar *** 58,63 **** --- 59,65 ---- LD = ld STRIP = strip BISON = bison + LIBSTDCXX = -lstdc++ # You may need to replace coff-go32 with coff-i386 in lib/djgpp.djl or # edit your cross_ld to replace coff-i386 with coff-go32 (as I did) Index: djgpp/src/mkdoc/makefile =================================================================== RCS file: /cvs/djgpp/djgpp/src/mkdoc/makefile,v retrieving revision 1.3 diff -p -3 -r1.3 makefile *** djgpp/src/mkdoc/makefile 1998/01/01 20:28:14 1.3 --- djgpp/src/mkdoc/makefile 2001/06/11 12:13:15 *************** include $(TOP)/../makefile.inc *** 7,13 **** all :: $(HOSTBIN)/mkdoc.exe $(HOSTBIN)/mkdoc.exe : mkdoc.cc ! $(GCC) mkdoc.cc -o $@ clean :: @-$(MISC) rm $(HOSTBIN)/mkdoc.exe --- 7,13 ---- all :: $(HOSTBIN)/mkdoc.exe $(HOSTBIN)/mkdoc.exe : mkdoc.cc ! $(GCC) mkdoc.cc $(LIBSTDCXX) -o $@ clean :: @-$(MISC) rm $(HOSTBIN)/mkdoc.exe