This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Shared library with custom _init, _fini
- From: bjorn rohde jensen <shamus at tdcadsl dot dk>
- To: gcc-help at gnu dot org
- Date: Sun, 05 May 2002 20:51:59 +0200
- Subject: Re: Shared library with custom _init, _fini
- References: <3CD5601B.4A2356DB@nc.rr.com>
- Reply-to: shamus at tdcadsl dot dk
Hi Joe,
Is there a buildt-in _init/_fini? From the man page
on dlopen, it sounds like, there isn't one, and i have
not been able to find such symbols in the shared
libraries, i have made so far. I think, you can quite
safely define your own _init/_fini functions.
Yours sincerely,
Bjorn
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?
>
> Thanks, Joe Krahn