c++ cgi

Is there any program which allows me to compile my c++ program in windows that would be binary compatible with Linux servers
You need to look for a cross compiler, gcc can cross compile but I don't know if you can easily find a binary version of it for this purpose so you may need to build it from source
Alternatively, you could use a virtual machine.
cygwin
From http://www.cygwin.com/ :
Cygwin is not a way to run native linux apps on Windows. You have to rebuild your application from source if you want it to run on Windows.
Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.
No, but it can be used as a cross-compiler. At least I think so.
Topic archived. No new replies allowed.