Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sun, 3 Jun 2001 21:04:48 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: cygwin initialization, was cygrunsrv fails to start
Message-ID: <20010603210448.B30692@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <F124WXSZ3Zs3Mpw6yL20000e17a@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <F124WXSZ3Zs3Mpw6yL20000e17a@hotmail.com>; 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

