This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with static global object initialization
- From: "Amol Gajewar" <gajewar dot amol at spsoftindia dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 25 Jan 2006 18:47:31 +0530
- Subject: Problem with static global object initialization
I am facing problem with static global object initialization on MAC OS
10.3.3
and gcc 3.3. In my code global objects are used even before they are
initialized.
Same code is working properly on Linux.
Is there any compilation or linking option which forces proper global object
initialization.
Thanks & Regards
Amol Gajewar