libtool
[Top][All Lists]
Advanced

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

catching exit on library


From: ZIGLIO, Frediano, VF-IT
Subject: catching exit on library
Date: Tue, 8 Feb 2005 17:08:18 +0100

I'm searching a portable way to detect when a library is unloaded.
Many source I found on internet use _init and _fini to detect
load/unload. Linux instead use gcc extensions
(__attribute__(destructor)). Other state that some implementation (like
SunOS 4.x) don't call _init/_fini.
Are there a standard way or someone write some autoconf/C script to do
this job.

bye
  freddy77




reply via email to

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