Compiling for other OSs on a Windows machine
I've downloaded Cygwin, and I'm quite impressed. I noticed that when I was selecting the packages to install, it had a set of compilers I could use. Will these compilers take my source code and compile it to a Linux-executable even though it is on a Windows machine? And I know there are sometimes cases where something will run on one version of Linux, but not another. This program will be in C using the SDL library (although not officially ported to Linux yet), and I won't be using any platform-specific APIs - will this still have problems on some Linux machines? I'd also like to know if there are similar compilers that can compile for Solaris or BSD, also while running on a Windows system.