Date: Thu, 7 Jun 2001 09:44:01 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Pavel V. Ozerski" 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.