This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SSHD problem
-----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@byu.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/