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

Re: A plan to get rid of unnecessary package dependencies

On Wed, Sep 27, 2006 at 01:35:12PM -0700, Kevin B. McCarty wrote:

> [**] I hope someone out there knows how a library maintainer can
> reliably determine this!

"Use the Source, Luke." For C, you should examine all functions marked
with __attribute__((__constructor__)) or
__attribute__((__destructor__)). For C++ you need to check every static
object as well.


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: