🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3391

Re: C++ globals and shared lib, how to ?

#3391
From: Steve no underscores
Date: Wed, 03 Feb 1999 00:00
13 lines
1252 bytes
Yves Dufournaud <Yves.Dufournaud@imag.fr> writes:

>I'am trying basic things using dlopen with g++-2.7.2.3 on sunos 5.5 :
>but when I load it with a dlopen and using RTLD_NOW
>constructor of global object are not called.

Isn't this a known bug with sunos? You could always
find the initialisation routine and call it manually
I suppose.

Steve.
-- 
Stephen Kennedy -- Stephen.Kennedy@cs.tcd.ie
Technical Details
Message-ID: <799gho$lpt@salmon.maths.tcd.ie>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B5EA0E.2361@imag.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,3b56ba1236b2e4f
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 10ba33,3b56ba1236b2e4f
X-Google-Attributes: gid10ba33,public
X-Google-Thread: 11035d,3b56ba1236b2e4f
X-Google-Attributes: gid11035d,public
From: Steve<_s_t_e_v_e_@maths.tcd.ie> no underscores
Subject: Re: C++ globals and shared lib, how to ?
Date: 1999/02/03
Message-ID: <799gho$lpt@salmon.maths.tcd.ie>
X-Deja-AN: 440167939
Sender: steve@maths.tcd.ie
References: <36B5EA0E.2361@imag.fr>
X-Complaints-To: abuse@maths.tcd.ie
X-Trace: synge.maths.tcd.ie 918046072 24594 134.226.81.11 (3 Feb 1999 12:47:52 GMT)
Organization: Department of Maths, TCD.
Reply-To: _s_t_e_v_e_@maths.tcd.ie
NNTP-Posting-Date: 3 Feb 1999 12:47:52 GMT
Newsgroups: comp.unix.programmer,comp.unix.solaris,gnu.g++.help