Cygwin and Wine both are compatibility layers. One is implementing POSIX on Windows, and the other is implementing Windows API on *nix. Why is it necessary to recompile binaries to run on Windows with Cygwin, while you can run Windows applications using Wine without recompilation?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
migrated from stackoverflow.com Oct 6 '12 at 10:04
|
Because there is one Windows (albeit in different versions) on one platform (x86) but gazillions of *nixes (SysV, BSD, Linux, Dec, ...) multiplied by their platforms multiplied by their supported CPUs. Sharing code on *nix was always sharing the source due to that variety. |
|||
|
|
|
There isn't really a good answer to this question other than "they're different". It would, in theory, be possible to produce a Cygwin-like layer for *nix which would enable you to recompile Windows applications on *nix and a Wine-like layer for Windows which would enable you to run *nix applications without recompilation - but that isn't what people did. |
|||||||
|