From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24234 invoked by alias); 24 Oct 2002 18:58:01 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24223 invoked from network); 24 Oct 2002 18:58:00 -0000 Received: from unknown (HELO smtp9.cp.tin.it) (212.216.176.185) by sources.redhat.com with SMTP; 24 Oct 2002 18:58:00 -0000 Received: from smtp8.cp.tin.it (212.216.176.235) by smtp9.cp.tin.it (6.5.029) id 3D9AD9A8006491AD for gcc-help@gcc.gnu.org; Thu, 24 Oct 2002 20:57:58 +0200 Received: from kappei (212.216.2.10) by smtp8.cp.tin.it (6.5.029) id 3DA451E3010EDEA1 for gcc-help@gcc.gnu.org; Thu, 24 Oct 2002 20:57:58 +0200 Received: by kappei (Postfix, from userid 1004) id 8ACA3E086; Thu, 24 Oct 2002 21:05:40 +0200 (CEST) Date: Thu, 24 Oct 2002 11:58:00 -0000 From: Gigi Sullivan To: gcc-help@gcc.gnu.org Subject: __attribute__((constructor)) and order of calls Message-ID: <20021024190540.GD892@kappei.pacana.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt 1.3.28i "All mail clients suck. This one just sucks less." -me, circa 1995 X-SW-Source: 2002-10/txt/msg00307.txt.bz2 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' Until I loved, life had no beauty; I did not know I lived until I had loved. (Theodor Korner)