Page 1 of 1

C programming on Cygwin need help

Posted: Mon May 13, 2013 6:22 pm
by preloader
Hey devs, I have installed cygwin with all packets and extensions now I'm compiling my code easily on cygwin but, when I want to start my compiled executable on windows it says "cygz.dll missing" so, I Can't start my executable on Windows. I must compile with cross platfrom option. But how can I do ? Btw, I used "-mno-cygwin" flag but it's not working

Re: C programming on Cygwin need help

Posted: Mon May 13, 2013 6:38 pm
by Xian Nox
Hmm, does cygz.dll come bundled with cygwin?

Re: C programming on Cygwin need help

Posted: Mon May 13, 2013 6:50 pm
by preloader
cygz.dll stands for Cygwin, short for GNU+Cygnus+Windows. Cygwin is developed by the Open Source community to provide an Unix-like environment running in Microsoft Windows systems. It is functioning as an emulation library and a software tool set to users of any modern version of Microsoft Windows systems. So, yes bundled with cygwin

Re: C programming on Cygwin need help

Posted: Mon May 13, 2013 6:54 pm
by Xian Nox
Yes, please do explain to me what cygwin is, I would have never known. Such an invaluable piece of knowledge.
If it's bundled, then first find it and then
a) set the folder it's in in your PATH,
b) copy it to where ever Windows stores its own DLLs,
c) banana, or
d) copy it to the place where the program you're running is.

Re: C programming on Cygwin need help

Posted: Mon May 13, 2013 6:58 pm
by preloader
Thanks for answer ^^ I already tried it. Doesn't work

++++++ EDIT ++++++

Problem solved.