Date: Tue, 6 Apr 1999 09:48:08 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Nate Eldredge cc: "Salvador Eduardo Tropea (SET)" , djgpp-workers AT delorie DOT com Subject: Re: YAMD tests In-Reply-To: <3709227A.26655F3A@cartsys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 5 Apr 1999, Nate Eldredge wrote: > I found that too. It's because the initialization is done in a > constructor and I can't ensure that it's the first constructor to run. > I tried forcing my code to be linked first; that makes my destructor > first, not last. Can't win :) > > So what I need is some way to get my code run first and last. Any > ideas? Separate the constructor and the destructor code into two different source files and link them in correct order.