Shared library with custom _init, _fini

bjorn rohde jensen shamus@tdcadsl.dk
Sun May 5 11:56:00 GMT 2002


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



More information about the Gcc-help mailing list