Article View: gnu.gcc.help
Article #53226Re: gcc-2.0 name mangling
From: Warner Losh
Date: Fri, 06 Mar 1992 06:48
Date: Fri, 06 Mar 1992 06:48
23 lines
1537 bytes
1537 bytes
While we're on the subject of name mangling, I thought I'd ask the following question. I think I know the answer, but I haven't seen any direct statement: Is g++ 2.0 "compatible" with cfront as shipped from AT&T (or sun) on a sparc? By compatible, I mean can I mix and match objects from the the two of them and expect things to work? I gather the answer is no, they are only compatible on the source code level, but have different name mangling, virtual function table assignment, and other incompatibilities so I must either use cfront or g++, but not both. Some simple experiments seem to indicate that this is the case. I'd like to know if this is a bug in some planned compatibility, or if it is beyond the scope of g++ and I shouldn't try to mix the two. Thanks a bunch for your time, Warner -- Warner Losh imp@Solbourne.COM MMP to DoD #882 "You better stay away from him, he'll rip your lungs out Jim, He's looking for James Taylor" -- Warewolves of Boulder WZ
Technical Details
Message-ID:
<1992Mar6.064859.19552@solbourne.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stan!impReferences:
<A33092@AC.maus.de> <TOMW.92Mar4123856@latchup.ucsb.edu> <1992Mar6.020554.22495@bond>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d442a3a97625629c X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-07 07:15:00 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stan!imp From: imp@solbourne.com (Warner Losh) Subject: Re: gcc-2.0 name mangling Message-ID: <1992Mar6.064859.19552@solbourne.com> Organization: Solbourne, User Interface Group References: <A33092@AC.maus.de> <TOMW.92Mar4123856@latchup.ucsb.edu> <1992Mar6.020554.22495@bond> Date: Fri, 6 Mar 1992 06:48:59 GMT