Does anyone know of a compiler for linux that returns a .exe file or anything else that windows can use? I've gotten used to my linux machine, but I need to make a few scripts to automate some tasks on my windows machine.
C++ is the language of choice btw.
Thanks, I'm familiar with gcc, thats what I was using to compile my linux codes. I didn't know it had a cross platform, should be able to find it in aptitude. Thanks for the help =].
Scripts to automate some tasks using c++? Are you kidding? I think either Perl or Python work best. Python is relatively simple to learn. If you still prefer coding in c++ you should recompile your code (assuming portability) using a C/C++ compiler for windows (Mingw port of gcc or microsoft compiler for example).
Or you could use Mono, which will create an EXE file that runs with Mono on Linux and .NET on Windows.
i think using python or java is the best idea, thats the easiest way=)
...neither of which produce EXE files. Python and Java apps are also a pain to distribute on Windows because the relevant interpreters aren't a standard part of most Windows setups.