Mail Archives: djgpp-workers/2001/03/17/10:06:21
To use operators new and delete with gcc-3.0 prerelease one should
link with either libstdcxx.a or libsupc++.a. As the latest was not
present in earlier versions I think it's safe to add libstdcxx.a to
command line in Makefile
Andris
PS. This and earlier patch fixes build failures but not large number of
warnings (I removed -Werror)
--- ./src/mkdoc/makefile~1 Thu Jan 1 22:28:14 1998
+++ ./src/mkdoc/makefile Sat Mar 17 16:23:38 2001
@@ -7,7 +7,7 @@
all :: $(HOSTBIN)/mkdoc.exe
$(HOSTBIN)/mkdoc.exe : mkdoc.cc
- $(GCC) mkdoc.cc -o $@
+ $(GCC) mkdoc.cc -lstdcxx -o $@
clean ::
@-$(MISC) rm $(HOSTBIN)/mkdoc.exe
- Raw text -