Re: Name mangling

Toon Moene <toon@moene.indiv.nluug.nl>
6 Jul 2001 16:29:02 -0400

          From comp.compilers

Related articles
Name mangling youngwk@yahoo.com (Young Wei Kuan) (2001-07-01)
Re: Name mangling thant@acm.org (Thant Tessman) (2001-07-02)
Re: Name mangling fjh@cs.mu.OZ.AU (2001-07-03)
Re: Name mangling toon@moene.indiv.nluug.nl (Toon Moene) (2001-07-06)
Re: Name mangling alainm@cup.hp.com (Alain Miniussi) (2001-07-06)
Re: Name mangling dosreis@cmla.ens-cachan.fr (Gabriel Dos Reis) (2001-07-17)
Re: Name mangling alainm@cup.hp.com (Alain Miniussi) (2001-07-18)
Re: Name mangling dosreis@cmla.ens-cachan.fr (Gabriel Dos Reis) (2001-07-23)
| List of all articles for this month |
From: Toon Moene <toon@moene.indiv.nluug.nl>
Newsgroups: comp.compilers
Date: 6 Jul 2001 16:29:02 -0400
Organization: Moene Computational Physics, Maartensdijk, The Netherlands
References: 01-07-008 01-07-027 01-07-038
Keywords: C++ GCC
Posted-Date: 06 Jul 2001 16:29:02 EDT

Fergus Henderson wrote:


> Young Wei Kuan wrote:


> > I understand g++ 3.0 has changed its name-mangling scheme.
> > [...] Why is it that object code compiled by g++ 2.95 is incompatible with
> > that of gcc3.0?


> Object code compiled by g++ 2.95 is incompatible with that of g++ 3.0
...
> However, I don't know if that is what motivated changes in name
> mangling between g++ 2.95 and g++ 3.0,


Indeed, it's not the only reason. One of the more important reasons to
change the name mangling is that the new one is more efficient (leads to
shorter mangled names). At least, that's what I recall - IANAC++Guru.


--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.