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]

__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)


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