Why are “Executable files” operating system dependent?

后端 未结 6 2128
无人共我
无人共我 2020-12-24 11:22

I understand that each CPU/architecture has it\'s own instruction set, therefore a program(binary) written for a specific CPU cannot run on another. But what i don\'t really

6条回答
  •  盖世英雄少女心
    2020-12-24 11:48

    A very naive answer:

    1. Their structure are different because of different process loaders;
    2. The use os-dependent features like syscalls, which vary from OS to OS.

提交回复
热议问题