The assembly code generated by assembler, from a C-source code depends on the CPU architecture underlying it, eg x-86 .
Then does the assembler output of a simple C-source code (containing common function-calls of both windows and linux) differ between Operating Systems ?
It’s a difficult question to answer. If I compile the following code:
to a .o file (i.e. not linked) on both platforms, would I exepect the x86 output to be the same?
Answer: Possibly. But I wouldn’t be suprised if it wasn’t.