Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 3 Jun 2001 21:04:48 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin initialization, was cygrunsrv fails to start Message-ID: <20010603210448.B30692@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; from karlm30@hotmail.com on Sun, Jun 03, 2001 at 11:38:12AM -0700 On Sun, Jun 03, 2001 at 11:38:12AM -0700, Karl M wrote: >I'm looking for ideas on how to further debug this problem. I'll take any >thoughts or suggestions. > >I would like to understand the sequence of events when the cygwin1.dll is >first loaded. > >This happens in response to the first .exe image that references it, right? > >Is there any "automatic" initialization of the cygwin1.dll, or does it wait >until the first posix call from the .exe image? There is nothing special about cygwin1.dll. It's like any other DLL. The main initialization happens before main is called in the dll_crt0 and dll_crt0_1 routines. dll_crt0_1 calls main. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple