delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/07/02:46:52

Date: Thu, 7 Jun 2001 09:44:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Pavel V. Ozerski" <pavel AT insect DOT ief DOT spb DOT su>
cc: djgpp AT delorie DOT com
Subject: Re: a question about some compiler internals and conventions
In-Reply-To: <111629352.20010607100715@insect.ief.spb.su>
Message-ID: <Pine.SUN.3.91.1010607094044.28343N-100000@is>
MIME-Version: 1.0
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 Thu, 7 Jun 2001, Pavel V. Ozerski wrote:

> 1) What are rules of methods names mangling?

DJGPP uses the GNU compiler, so the name-mangling is the normal GCC 
method.

> 2) Are static libraries created by different versions of DJGPP
> compatible by mangled names?

In general, yes; however I understand that GCC 3.0 is going to change the 
C++ ABI, which might include a different mangling.

> 3) Where are described internal mechanisms of replacing methods in
> child classes (virtual methods table or something similar)?

You should ask this (as well as the other related questions) on the g++ 
forum, or on the GCC mailing list, where GCC maintainers could give you 
definitive answers.  DJGPP simply ports GCC to DOS and Windows, but it 
doesn't change the way the GNU C++ compiler and the GNU C++ classes work.

- Raw text -


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