This is the mail archive of the cygwin@cygwin.com 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: cygwin1.dll not found, embedding dll into EXE


Mukul Sabharwal wrote:
> Hi,
>
> I just installed Cygwin on my system, and ported my apps to Win32 (or
trying
> to). This is a Windows XP system, and after using g++ it gave me the error
> message that I needed the cygwin1.dll, I copied it to the working folder
of
> the exe file and it ran.
>
> Is there a way to automatically set this ?

I don't understand your question.

> Also, how do I distribute my windows executables ? Do I need to provide
the
> cygwin1.dll in the same location ? Is this the only file or anyother file
is
> required ? Sorry if it has been answered, you could point me to the right
> direction.

Ideally, you distribute your app without cygwin1.dll, and ask people to
install Cygwin.

Your app is open source, right?

> P.S.- Can the cygwin1.dll be linked statically into the EXE file ?

No.


Max.


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