www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/29/08:39:50

From: pavenis AT lanet DOT lv
To: djgpp AT delorie DOT com
Date: Thu, 29 Nov 2001 15:35:32 +0200
MIME-Version: 1.0
Subject: Re: gcc302 from 28.11.2001
Message-ID: <3C0655C4.31743.622580@localhost>
In-reply-to: <3C065310.20077.57997B@localhost>
References: <lvsb0uk88n8gpsbms5bdhnjblhj6nf98i2 AT 4ax DOT com>
X-mailer: Pegasus Mail for Windows (v4.01)
X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id fATDZYc22658
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 29 Nov 2001 at 15:24, pavenis AT lanet DOT lv wrote:

> On 29 Nov 2001 at 11:38, Vladimir Zhuchko wrote:
> 
> > I downloaded the last gcc302b (28.11.2001) to work under Win2000, but
> > got many problems, the error messages was:
> >  element.cpp(813) Error: undefined reference to `operator
> > delete(void*)'      ¦
> >  element.cpp(814) Error: undefined reference to `operator
> > delete[](void*)'
> 
> Make sure You don't have old libstdcxx.a from previous compiler version 
> (eg. gcc-2.95.3) in lib directory. The location of C++ standard library is now 
> lib/gcc-lib/djgpp/3.02/libstdcxx.a for DJGPP port of gcc-3.0.2 
> 

Forgot to note one more thing:

You need to link C++ application with libstdcxx.a. So either specify
-lstdcxx explicitly or use gpp.exe instead of gcc.exe

Andris



- Raw text -


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