delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/17/10:06:21

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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019