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
Locked
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

C programming on Cygwin need help

Post 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
Advertising
Xian Nox
Retired Mod
Posts: 2744
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 »

Hmm, does cygz.dll come bundled with cygwin?
Advertising
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

Re: C programming on Cygwin need help

Post 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
Xian Nox
Retired Mod
Posts: 2744
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 »

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.
preloader
Posts: 81
Joined: Thu Feb 28, 2013 1:09 pm

Re: C programming on Cygwin need help

Post by preloader »

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

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

Problem solved.
Locked

Return to “Programming”