Subject: Re: Global constructors
To: Klaus Gillarek <Klaus.Gillarek@chemie.stud.uni-erlangen.de>
From: Todd Vierling <tv@pobox.com>
List: port-amiga
Date: 04/05/1999 22:37:32
On Mon, 5 Apr 1999, Klaus Gillarek wrote:

: someone said, that probably global constructors in shared libraries
: in NetBSD aren't properly executed. Someone else said, it has to do
: with the format of a.out. Is there a workaround (bugfix) in future
: NetBSD's for this problem. Does someone know an explanation for this
: problem? Does linking with c++rt0.o really help?

If you link your shlib with /usr/lib/c++rt0.o as the *first* object file on
the ld command line, you'll be fine.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)