Does C have a standard ABI?

前端 未结 8 1959
谎友^
谎友^ 2020-11-28 06:34

From a discussion somewhere else:

C++ has no standard ABI

But neither does C, right?

On any given platform it pretty much does. It wouldn\'

8条回答
  •  难免孤独
    2020-11-28 07:05

    Although several attempts have been made at defining a single ABI for a given architecture across multiple operating systems (Particularly for i386 on Unix Systems), the efforts have not met with such success. Instead, operating systems tend to define their own ABIs ...

    Quoting ... Linux System Programming page 4.

提交回复
热议问题