home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!metro!socs.uts.edu.au!utsmips!antony
- From: antony@ee.uts.edu.au (Antony Richards)
- Subject: Name Mangling (replies)
- Organization: University of Technology, Sydney, Australia
- Date: Wed, 9 Sep 1992 06:25:59 GMT
- Message-ID: <antony.716019959@ee.uts.EDU.AU>
- Sender: news@ccsd.uts.EDU.AU (News)
- Nntp-Posting-Host: rossi.ee.uts.edu.au
- Lines: 32
-
- Thankyou to all the resonses I received. Here is a summary of the responses.
-
- >From: jbuck@ohm.Berkeley.EDU (Joe Buck)
- >There's a routine provided with gdb-4.6 that you could use. Of course,
- >it's GPL'ed, but if that's a problem for you (becuase you want to "hoard
- >your code", as the gnu folks say), you could have one person
- >determine the algorithm from the code and write a spec and have another
- >person write new code from the spec.
-
-
- >From: ENURMI@tnclus.tele.nokia.fi
- >From: andy@spec0.electrical-engineering.manchester.ac.uk
- >Why don't you grab the source to gcc then you can use the source code for
- >the mangling?
-
- I have it, but some simple grep's did not reveal anything.
-
- >From: jamshid@emx.cc.utexas.edu (Jamshid Afshar)
- >Name mangling is not standardized. You'll have to ask each compiler
- >vendor or in gnu.g++.help.
-
- I have not doen this yet, because I worked out what I need at the moment,
- by looking at the machine code output of the mangled label of a constructor
- without any parameters. These labels are:-
- __<strlength(classNmae)><className>
-
- I hope that this has been useful.
-
- thanks,
- antony.
-
-
-