This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shared library with custom _init, _fini


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]