will cygwin run?

closed account (iw0XoG1T)
If I write a program compiled using gcc through cygwin would it run while not running cygwin?

edit never mind:
http://cygwin.com/faq-nochunks.html#faq.programming.win32-no-cygwin
Last edited on
closed account (iw0XoG1T)
Follow up question.

Does anyone use gcc and cygwin and is it worth the trouble? I have no plans to ever distribute any program that I write.
closed account (z05DSL3A)
chwsks wrote:
Does anyone use gcc and cygwin and is it worth the trouble?
If your code uses POSIX, then you need a POSIX subsystem for Windows. I don't know what the current state of Windows and POSIX is, it may only be available on servers now.

So if you need POSIX and it is not available on your windows system, cygwin is worth it. ... I think.
Could always go with Posix Subsystems for windows.
closed account (1yR4jE8b)
Cygwin depends at LEAST on cygwin1.dll, and there's no static library. If you don't depend on the Unix emultation, you can pass -mno-cygwin to the compiler and it'll use the Windows runtime instead of the cygwin one but it only works if you don't use the Unix emulation.
closed account (iw0XoG1T)
Thanks to those of you who took the time to answer this, you may not realize it but your answers were very helpful.

Thanks again
Last edited on
Topic archived. No new replies allowed.