Mail Archives: djgpp-workers/2001/05/12/04:48:39
Building src/mkdoc/mkdoc.cc with gcc-3.0 dev. version fails if not linked
with one of libstdc++ or libsupc++. The latest one is new and perhaps
it's best not to add detection of presence of this library, so I used
libstdc++
It should break with gcc-2.7.2.1 (libstdcx.a), but I think it's too
outdated and all later versions should be Ok
Andris
*** djgpp/src/mkdoc/makefile~1 Thu Jan 1 22:28:14 1998
--- djgpp/src/mkdoc/makefile Fri May 11 17:29:10 2001
***************
*** 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
*** djgpp/src/makefile.def~1 Tue Dec 14 16:45:00 1999
--- djgpp/src/makefile.def Fri May 11 17:27:56 2001
***************
*** 36,41 ****
--- 36,42 ----
LD = ld
STRIP = strip
BISON = bison
+ LIBSTDCXX = -lstdcxx
else
***************
*** 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)
- Raw text -