This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
__attribute__((constructor)) and order of calls
- From: Gigi Sullivan <sullivan at sikurezza dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 21:05:40 +0200
- Subject: __attribute__((constructor)) and order of calls
Aiee :)
Hello!
Let suppose that I've 2 or more functions which are "characterized"
by the __attribute__((constructor)) attribute.
I'm just wondering if there's a clean way to know the routines' order
of call.
Does the same rule, if any, apply to destructor attribute as well ?
TIA, bye
-- gg sullivan
--
Lorenzo Cavallaro `Gigi Sullivan' <sullivan@sikurezza.org>
Until I loved, life had no beauty;
I did not know I lived until I had loved. (Theodor Korner)