It may be a trivial question but I have hard time to explain to my little brother that a Windows binary will not run in another different OS like Linux even when both the OS are running in the same machine. If the binaries (opcodes) have to be same to execute in the same underlying architecture ( say Intel 32-bit), what are the differences between the binaries of Windows and Linux ( or even Ubuntu and RadHat Linux)? Are there any runtime modification of the binaries at instruction level before execution by the processor? How do I explain in lay man /simple terms that he can understand.
来源:https://stackoverflow.com/questions/16661454/why-does-a-binary-of-one-os-windows-does-not-run-in-other-linux-for-same-un