How to convert a linux executable file (binary) to windows exe file?
You can not convert a linux executeable into a windows executeable. But you can compile the source with cross-compiler.
E.g: MinGw32
if you are in ubuntu:
sudo apt-get install mingw32
i586-mingw32msvc-cc main.c -o main.exe