Subject: Re: C++ q: constructors not called for classes in shared lib ?
To: Todd Vierling <>
From: Jason Thorpe <>
List: current-users
Date: 02/04/1999 13:52:56
On Thu, 4 Feb 1999 16:47:58 -0500 (EST) 
 Todd Vierling <> wrote:

 > See my other message about "fixing" `cc -shared' to DTRT with c++rt0, as it
 > already does on ELF with crt(begin,end)S.  Since `cc -shared' has never
 > worked properly on a.out, if it were fixed to do c++rt0, you could use this
 > method to make libraries.

I would very much support fixing this, including ctor/dtor support
in a.out C shared libs, and making cc -shared do all this for both
object types, with a consistent command interface.

        -- Jason R. Thorpe <>