|
A stupid compiler question.
As I understand it, compilers generally generate code in the following manner: source code>object file(s)(which might be linked)>final executable in machine code.
Now, providing that a source file is compiled for a certain CPU architecture (eg, x86) why shouldn't a file compiled on Windows work on a Linux system, and vise versa?
|