I've just terminated an astronomical application in ansi C for DOS and compile it using GCC. The problem is that the program gives an 500 internal server error, both, in an Linux server and in a Windows 2003 running IIS v6.0 - it's a internet application, by the way, like a cgi: it reads information from one file, computes, and writes the result to another file.
It works fine in my windows xp (better than I expected). Can it be any plausible cause why this is happening? Can it be that both systems don't have the right emulator for DOS applications?
Anyone has any ideas?