The GNU compiler is available for both platforms. If you're asking whether you can compile a program on Windows and have it run on *nix, then no. The executable formats aren't compatible.*
* This isn't entirely true - you could get a cross compiler, but you'd still have to compile two different versions - one for Windows, one for *nix. You're better off just compiling on the intended platform.
|