delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/11/03:19:28

Date: Mon, 11 Dec 1995 08:25:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Alaric B. Williams" <DJGPP AT abwillms DOT demon DOT co DOT uk>
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Pure virtual methods

On Sun, 10 Dec 1995, Alaric B. Williams wrote:

> 
> When I use pure virtuals in DJGPP, I get link errors 'coz it can't find 
> "__pure_virtual" (presumably a filler function for pure virtuals to cough up an 
> error).

There are a few causes which might be involved, but the usual one is that
you have an old version of libgcc.a which doesn't include this symbol. 
You can check if it includes it with the `nm' program which should be in
your bin/ subdirectory.  The DJGPP FAQ list explains in section 8.9 how to
use `nm' for this purpose (there is also a chapter on `nm' in the binutils
docs). 

- Raw text -


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