From: pavenis AT lanet DOT lv To: djgpp-workers AT delorie DOT com Date: Sat, 17 Mar 2001 17:06:11 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Patch for src/mkdoc/makefile Message-ID: <3AB39983.30788.52DC29@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com 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