Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!apple!bbn.com!nic!hri!sparc17!roman From: roman@sparc17.hri.com (Roman Budzianowski) Newsgroups: comp.lang.c++ Subject: Re: Are global class objects special? Message-ID: <1990Sep27.193709.4178@hri.com> Date: 27 Sep 90 19:37:09 GMT References: <28241@pasteur.Berkeley.EDU> <26729@mimsy.umd.edu> Sender: news@hri.com Reply-To: roman@sparc17.hri.com (Roman Budzianowski) Organization: Horizon Research Lines: 15 In article <28241@pasteur.Berkeley.EDU>, jbuck@galileo.berkeley.edu (Joe Buck) writes: > You can also work around the problem by making sure your .o files > are handed to the linker in an order that works (constructors are > called in the order that the .o files are given to the linker). > > > -- > Joe Buck > jbuck@galileo.berkeley.edu {uunet,ucbvax}!galileo.berkeley.edu!jbuck In cfront from SUN w/munch, the constructors are called in reverse alphabetic order determined by file names.