Article View: gnu.gcc.help
Article #52162Re: Shared libraries with gcc/g++
From: Don &
Date: Sat, 30 Jan 1993 23:25
Date: Sat, 30 Jan 1993 23:25
11 lines
1180 bytes
1180 bytes
I suspect the problem is that not all C++ compilers use the same name-mangling and virtual function table layout scheme. This means that code compiled with one cannot be linked with libraries compiled by another. The compatability insured by adherence to C++ standards will only be at the source code level, not at the .o file level. If my explanation is correct, you should also have problems trying to do static linking. Don Bashford bashford@scripps.edu
Technical Details
Message-ID:
<BASHFORD.93Jan30152422@zippy.scripps.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!pacbell.com!network.ucsd.edu!riscsm!usenetReferences:
<1993Jan28.002511.5500@csis.dit.csiro.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,82014c4193623c64 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-01-30 18:35:15 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!pacbell.com!network.ucsd.edu!riscsm!usenet From: bashford@scripps.edu (Don &) Subject: Re: Shared libraries with gcc/g++ In-Reply-To: dave@mizar.csis.dit.csiro.au's message of Thu, 28 Jan 1993 00:25:11 GMT Message-ID: <BASHFORD.93Jan30152422@zippy.scripps.edu> Sender: usenet@riscsm.scripps.edu Organization: The Scripps Research Institute, La Jolla, CA, USA References: <1993Jan28.002511.5500@csis.dit.csiro.au> Date: Sat, 30 Jan 1993 23:25:35 GMT Lines: 11