From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d8e3cd3d8dbaa4fb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.98.234 with SMTP id el10mr1282681wib.3.1343312319088; Thu, 26 Jul 2012 07:18:39 -0700 (PDT) Received: by 10.224.138.146 with SMTP id a18mr1289602qau.6.1343312307669; Thu, 26 Jul 2012 07:18:27 -0700 (PDT) Received: by 10.66.77.101 with SMTP id r5mr1491388paw.27.1343312307535; Thu, 26 Jul 2012 07:18:27 -0700 (PDT) Path: ge7ni75407931wib.0!nntp.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!q21no18531654qas.0!news-out.google.com!a15ni105485768qag.0!nntp.google.com!q21no13106149qas.0!news-out.google.com!b9ni64702982pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!novia!news-peer1!btnet!zen.net.uk!hamilton.zen.co.uk!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.szaf.org!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada "library only" compiler ? Date: Sun, 22 Jul 2012 12:17:12 +0200 Message-ID: <874np0aymv.fsf@mid.deneb.enyo.de> References: <2879c45e-f8e0-4434-9f82-968c585a4539@googlegroups.com> <87mx2ucags.fsf@ludovic-brenta.org> <500AA31F.8060004@obry.net> Mime-Version: 1.0 X-Trace: news.enyo.de 1342952230 14723 172.17.135.6 (22 Jul 2012 10:17:10 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:GMNQlrO8vtJyYaDfWNcraipfyNA= Content-Type: text/plain; charset=us-ascii Date: 2012-07-22T12:17:12+02:00 List-Id: * Pascal Obry: > I don't see your point. Interfacing to a DLL is just like interfacing to > C or whatever. In fact the Win32 DLL API are in C, same on Linux where > the lib C is used, no? On Windows you interface to fopen() as done on > UNIXes I suppose or maybe to an even higher level using OpenFile(). There are different types of functions. For example, fopen is implemented in user space, while open just moves the arguments into the right positions and invokes the transition to kernel space, and sets errno based on the result. (This is roughly the difference between section 3 and section 2 of the manual pages.) Functions like open are not implemented in C on the user space side. Whether the kernel language still counts as C, I'm not sure.