If you have access to a Windows machine, it might be simpler to install mingw on it and compile on it directly. (And mingw's gcc won't generate binaries that depend on cygwin1.dll.) ...
Lazarus is an open-source library of visual components and a powerful IDE for rapid cross-platform development. The IDE contains all the features of a modern development suite, including a debugger, ...