in reply to how to make exe for all operating systems

Meta: See "Question" vs "Doubt"

Different operating systems have formats of executables, an executable built for one system won't work on another (incompatable) system.

You might be able to get something useful by running the generated executable under something like WINE on Linux.

  • Comment on Re: how to make exe for all operating systems

Replies are listed 'Best First'.
Re^2: how to make exe for all operating systems
by Anonymous Monk on Nov 16, 2006 at 16:17 UTC
    Different operating systems have formats of executables, an executable built for one system won't work on another (incompatable) system.

    Well, let's say, it won't work without performing tricks. I have used heavily (in house) modified Pascal (!) compilers that generated binaries that ran on both SCO and VMS. It's dirty, it's tricky, but it worked. It can be done. But normally, you really, really don't want to.