This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cywin shared dll


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

According to Tom Lee on 10/13/2006 8:56 PM:
> Hi Eric,
> 
> Thanks for your help.
> 
>> That's the problem.  You should only ever have a single version of
>> cygwin1.dll installed anywhere on your system.  Delete the old copy, and
>> just put the new one on the path.
> 
> If I want to distribute one command for the end user to use and don't
> want to have
> a full installation. Also, I don't know if the user has the cygwin
> pre-installed or not.

It sounds like you are setting yourself up to be a
http://cygwin.com/acronyms/#3PP.  Search the mailing list archives for
better ideas.  You are not the first to ask questions on how to portably
detect whether a random machine has cygwin installed; and the advice from
this list is if cygwin is already installed, DO NOT TRY to install a
second copy of cygwin1.dll.  Instead, inform the user if their installed
version is out of date and they need an upgrade to run your software.

> 
> Are you sure PATH works?
> In the PATH c:\mycgwin is ahead of system path and x:\cygwin\bin is even
> not in the path.
> It still failed with the same error.

Altering PATH does not help if a copy of cygwin1.dll is already loaded in
memory.

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

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

iD8DBQFFMGkP84KuGfSFAYARAtxWAKCVkAJR/1UJYcBwbXZbUegEhSyCJwCfWvQH
YzXJAYHtLV2sxpsrRgR4mxc=
=a8h1
-----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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]