[uClibc]Use of __attribute__((constructor))

Erik Andersen andersen at codepoet.org
Fri Aug 9 06:29:08 UTC 2002


On Thu Aug 08, 2002 at 05:51:51PM -0700, Joseph Chiu wrote:
> Hi,
> 
> I tried to put together the procps-2.0.7-6 package (procps.sourceforge.net)
> to put together a "real" ps.
> 
> The procps package uses the __attribute__((constructor)) for a handful of
> static functions obviously used to automatically run initialization.

For details, see the FAQ entry "I have code that uses
constructors and destructors. Why is it when I use uClibc, the
ctors/dtors do not run?" on the webpage at:
    http://www.uclibc.org/FAQ.html

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list