🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2254

Re: attempting to make a shared libg++

#2254
From: Casper H.S. Dik
Date: Tue, 16 Nov 1993 09:20
13 lines
1231 bytes
klamer@mi.el.utwente.nl (Klamer Schutte) writes:

>The problem probably is that the global constructors (for cout at least)
>are not called. You could fix that by placing this in a .sa library.

Just putting them in the .sa part is not sufficient.  They would
only be linked into your executable if they are referenced from
your executable.  They usually are not.

You cannot really construct a shared libg++ w/o some major hacks
in SunOS 4.x.  You can in Solaris 2.x

Casper
Technical Details
Message-ID: <2ca607$p4l@mail.fwi.uva.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!EU.net!sun4nl!fwi.uva.nl!casper
References: <jerry.753301158@kenya> <klamer.753355590@mi.el.utwente.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10ba33,bf0ed279ad02f2c
X-Google-Attributes: gid10ba33,public
X-Google-Thread: 1025b4,bf0ed279ad02f2c
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1993-11-16 01:28:59 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!EU.net!sun4nl!fwi.uva.nl!casper
From: casper@fwi.uva.nl (Casper H.S. Dik)
Newsgroups: gnu.misc.discuss,gnu.g++.help
Subject: Re: attempting to make a shared libg++
Date: 16 Nov 1993 09:20:07 GMT
Organization: FWI, University of Amsterdam
Lines: 13
Distribution: world
Message-ID: <2ca607$p4l@mail.fwi.uva.nl>
References: <jerry.753301158@kenya> <klamer.753355590@mi.el.utwente.nl>
NNTP-Posting-Host: adam.fwi.uva.nl