Article View: comp.std.c
Article #616Re: Mixing compilers
From: Barry Margolin
Date: Thu, 28 Sep 1989 16:40
Date: Thu, 28 Sep 1989 16:40
16 lines
1302 bytes
1302 bytes
In article <1989Sep27.170646.2313@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes:
>In article <514.nlhp3@oracle.nl> bengsig@oracle.nl (Bjorn Engsig) writes:
>>You might even not know which compiler was used to compile the libraries.
>You *need* to know that its calling conventions are compatible with the
>one you are using.
This is why calling conventions, data type layouts, and object file
formats (including limitations on external symbol names) are best
specified by OS vendors, or even by separate standards organizations
(e.g. COFF), rather than by compiler implementors. After a program is
compiled, it shouldn't matter what language it was written in, what
compiler was used to compile it, etc.
Barry Margolin, Thinking Machines Corp.
barmar@think.com
{uunet,harvard}!think!barmar
Technical Details
Message-ID:
<30296@news.Think.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!think!kulla!barmarReferences:
<816@tuminfo1.lan.informatik.tu-muenchen.dbp.de> <524@crdos1.crd.ge.COM> <514.nlhp3@oracle.nl> <1989Sep27.170646.2313@utzoo.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!think!kulla!barmar From: barmar@kulla (Barry Margolin) Newsgroups: comp.std.c Subject: Re: Mixing compilers Message-ID: <30296@news.Think.COM> Date: 28 Sep 89 16:40:40 GMT References: <816@tuminfo1.lan.informatik.tu-muenchen.dbp.de> <524@crdos1.crd.ge.COM> <514.nlhp3@oracle.nl> <1989Sep27.170646.2313@utzoo.uucp> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 16