Advertising (This ad goes away for registered users. You can Login or Register)

C programming on Cygwin need help

Programming on your favorite platform, for your favorite platform? Post here
Post Reply
User avatar
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

C programming on Cygwin need help

Post by preloader » Mon May 13, 2013 6:22 pm

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
Advertising

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: C programming on Cygwin need help

Post by Xian Nox » Mon May 13, 2013 6:38 pm

Hmm, does cygz.dll come bundled with cygwin?
Advertising

User avatar
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

Re: C programming on Cygwin need help

Post by preloader » Mon May 13, 2013 6:50 pm

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

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: C programming on Cygwin need help

Post by Xian Nox » Mon May 13, 2013 6:54 pm

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.

User avatar
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

Re: C programming on Cygwin need help

Post by preloader » Mon May 13, 2013 6:58 pm

Thanks for answer ^^ I already tried it. Doesn't work

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

Problem solved.

Post Reply

Return to “Programming”