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: how can I compile my code to run in windows ??


> > when I run a program that is compiled by cygwin in
> > windows by double clicking it without cygwin bash it
> > complaints that there is no cygwin.dll.
> > how can I make it to run on windows??
1. Add the path to cygwin1.dll to your default PATH environment variable
OR
2. Copy cygwin1.dll to the same directory as your program
OR
3. Compile the program with -mno-cygwin.

Regards
Chris



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]