From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Kosnik To: gcc@gcc.gnu.org Subject: RE: C++ Static Variable Initialization Date: Fri, 17 Aug 2001 14:29:00 -0000 Message-id: <200108172129.f7HLTkk16913@constant.com> X-SW-Source: 2001-08/msg00938.html Sarangdhar, You may want to investigate using the -finit-priority flag, and marking up your sources to indicate when specific items should be initialized. See this page: http://gcc.gnu.org/onlinedocs/gcc-3.0/gcc_6.html#SEC121 You might also want to scope the g++ testsuite for examples. best, benjamin