🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52172

Re: Shared libraries with gcc/g++

#52172
From: Gordon Day
Date: Mon, 01 Feb 1993 19:17
18 lines
1546 bytes
>>>"don" == Don & <bashford@scripps.edu> writes:

don> I suspect the problem is that not all C++ compilers use the same
don> name-mangling and virtual function table layout scheme.  This
don> means that code compiled with one cannot be linked with libraries
don> compiled by another.  The compatability insured by adherence to
don> C++ standards will only be at the source code level, not at the
don> .o file level.

Nope, this is a problem with C++ code generation.  The shared code
seems to work ok, but global statically initialized variables lose
(This is with gcc generated library code).

Ta,

Gordon.
_______________________________________________________________________________
gordon day, inde electronics, +1-403-430-1446.
Technical Details
Message-ID: <GDAY.93Feb1111715@ignatz.inde.bc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!van-bc!inde!newshost!gday
References: <1993Jan28.002511.5500@csis.dit.csiro.au> <BASHFORD.93Jan30152422@zippy.scripps.edu>

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-02-01 11:17:15 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!van-bc!inde!newshost!gday
From: gday@ignatz.inde.bc.ca (Gordon Day)
Subject: Re: Shared libraries with gcc/g++
In-Reply-To: bashford@scripps.edu's message of Sat, 30 Jan 1993 23:25:35 GMT
Message-ID: <GDAY.93Feb1111715@ignatz.inde.bc.ca>
Sender: news@inde.bc.ca
Organization: INDE Electronics, Inc.
References: <1993Jan28.002511.5500@csis.dit.csiro.au>
 <BASHFORD.93Jan30152422@zippy.scripps.edu>
Date: Mon, 1 Feb 1993 19:17:15 GMT
Lines: 19