3 ms·
C does not have an ABI in itself, it just uses the conventions of its host system. e.g. how function calls are done, how names are mangled (for instance on mac
by jcelerier 7y ago
C does not have an ABI in itself, it just uses the conventions of its host system.
e.g. how function calls are done, how names are mangled (for instance on macOS all function names are prepended with an underscore and not on 64-bit windows nor linux...), etc... none of this is defined in the C standard, and it varies across platforms.
- rramadass 7y ago>the applicable "C ABI" for a platform Was the phrase i used. It is well known that the C standard does not define an ABI but a processor arch+OS i.e. platform defines it. Over time that defined for C binaries on a platform have become the "de facto" standard and almost all other language run-times hew to it as needed.