[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared library with custom _init, _fini

From: Michael Matz
Subject: Re: Shared library with custom _init, _fini
Date: Mon, 6 May 2002 17:22:37 +0200 (MET DST)


On Sun, 5 May 2002, Joe Krahn wrote:

> If I make a shared library with my own _init and _fini
> function, is there a possibility of problems from the
> system's built-in _init/_fini functions not being
> called?

If it's a C++ library, no static constructors or destructors would be
called, so yes, this would be a problem.  If you don't care for C++, it
_might_ work.  You need to test on the platforms you care about.  Of
course you already know, that _fini and _init are ELF.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]