Re: "standard" C calling convention?

Sander Vesik <sander@haldjas.folklore.ee>
21 Feb 2003 00:45:20 -0500

          From comp.compilers

Related articles
[2 earlier articles]
Re: "standard" C calling convention? jgd@cix.co.uk (2003-02-13)
Re: "standard" C calling convention? gah@ugcs.caltech.edu (Glen Herrmannsfeldt) (2003-02-13)
Re: "standard" C calling convention? lars@bearnip.com (2003-02-13)
Re: "standard" C calling convention? dmr@bell-labs.com (Dennis Ritchie) (2003-02-21)
Re: "standard" C calling convention? christian.bau@cbau.freeserve.co.uk (Christian Bau) (2003-02-21)
Re: "standard" C calling convention? mgl8@attbi.com (Mike Ludwig) (2003-02-21)
Re: "standard" C calling convention? sander@haldjas.folklore.ee (Sander Vesik) (2003-02-21)
Re: "standard" C calling convention? andrew.higham@blueyonder.co.uk (Andrew) (2003-02-21)
Re: "standard" C calling convention? nmm1@cus.cam.ac.uk (2003-02-24)
Re: "standard" C calling convention? nmm1@cus.cam.ac.uk (2003-02-24)
Re: "standard" C calling convention? gah@ugcs.caltech.edu (Glen Herrmannsfeldt) (2003-02-24)
Re: "standard" C calling convention? marcov@toad.stack.nl (Marco van de Voort) (2003-02-24)
Re: "standard" C calling convention? marcov@stack.nl (2003-03-09)
[2 later articles]
| List of all articles for this month |
From: Sander Vesik <sander@haldjas.folklore.ee>
Newsgroups: comp.compilers
Date: 21 Feb 2003 00:45:20 -0500
Organization: ERA/EKI FO
References: 03-02-072 03-02-079
Keywords: C, design
Posted-Date: 21 Feb 2003 00:45:19 EST

Nick Maclaren <nmm1@cus.cam.ac.uk> wrote:
> Peter Seibel <peter@javamonkey.com> wrote:
>>People often refer to the "standard C calling convention", usually as
>>opposed to some other calling convention that a compiler also
>>supports. I have several questions, in no particular order about this
>>"standard".
>>
>> - Am I correct in assuming that this is more of an de facto than de
>> jure standard.
>
> Yes, most definitely. There is no relevant formal or even semi-formal
> standard.


Well, there *are* the processor specific supplements to the Sys V ABI,
which are the standard for SYSV-ish OSs and often also used by others.
The supplements are a great resource as to how to do caling
conventions (at least for the most part).


--
Sander


+++ Out of cheese error +++



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.