[comp.lang.c++] Name Mangling

harold@fmrco (Harold Naparst) (05/01/91)

To what extent can a library compiled with compiler A be used
by a program compiled with compiler B ?

My question concerns the uniqueness of the name mangling scheme.
If the two compilers mangle names in the same way, I guess it
will be possible to share libraries.  What is the deal here?
Is there some "standard" mangling scheme?

-- 
Harold Naparst               |  (uunet!fmrco!harold) 
Fidelity Investments         |  (617)-570-2587
82 Devonshire St., #I40B     |  The opinions expressed herein are not those
Boston, MA  02109            |  of my employer.

tom@ssd.csd.harris.com (Tom Horsley) (05/02/91)

I suspect they not only have to mangle names the same way, but also organize
their virtual function tables the same way and implement multiple
inheritance the same way and implement static constructors and destructors
the same way....

(what have I left out?)
--
======================================================================
domain: tahorsley@csd.harris.com       USMail: Tom Horsley
  uucp: ...!uunet!hcx1!tahorsley               511 Kingbird Circle
                                               Delray Beach, FL  33444
+==== Censorship is the only form of Obscenity ======================+
|     (Wait, I forgot government tobacco subsidies...)               |
+====================================================================+