Is it possible to have single standalone executable to be able to run on both linux and windows? It doesn't have to be from one binary code. I have no problem compiling linux version with gcc, windows one with mingw and then "merging" them. Is something like this possible?
I guess question is if it's possible to write both PE and ELF into one file. Or if there is some basic scripting thing both linux and windows understand.