delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/15/08:09:02

Message-ID: <4379DDA0.2020204@byu.net>
Date: Tue, 15 Nov 2005 06:07:44 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Jacek Trzcinski <jacek AT certum DOT pl>
CC: cygwin AT cygwin DOT com
Subject: Re: SSHD problem
References: <43787CDD DOT 9090304 AT certum DOT pl> <43789647 DOT 8080707 AT byu DOT net> <43789F28 DOT 906 AT certum DOT pl> <20051114144722 DOT GB25484 AT trixie DOT casa DOT cgf DOT cx> <43798E58 DOT 6010901 AT certum DOT pl>
In-Reply-To: <43798E58.6010901@certum.pl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jacek Trzcinski on 11/15/2005 12:29 AM:
> Thanks . It turned out that I had cygwin1.dll in AVR gcc compiler and it
> caused errors.

Just as we had predicted.

> It is a little bit strange because LoadLibrary function (
> I assume Cygwin executable call that function to load Cygwin1.dll )
> should first take dll from pointed path or directory where executable
> started. Searching in "path" environment should be carried in the end.

Blame Windows - this is Microsoft's default behavior, over which cygwin
has no control.  When loading an .exe that depends on a .dll at inception,
Windows rules are obeyed (in which the directory of the .exe is prepended
to the PATH, and where a modal popup box appears if the dependency cannot
be satisfied).  Hence our warning that you should never have more than one
cygwin1.dll on your path, since most cygwin .exe's have a hard-coded
dependency on cygwin1.dll.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDed2f84KuGfSFAYARAu6mAJ4xnN8G4nTB0Crbh0uG5GVX53t+AwCeJqYI
IqFJI6tfD+4VB+f2hXR9BRg=
=9yhk
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019