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

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  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

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

Eric Blake   
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

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