Mail Archives: djgpp-workers/2001/06/11/08:31:57
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
- Raw text -