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,4f349758c918a275 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.105.2 with SMTP id gi2mr843409wib.4.1347645716331; Fri, 14 Sep 2012 11:01:56 -0700 (PDT) Path: q11ni65056536wiw.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.12.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada bindings for filesystems Date: Fri, 07 Sep 2012 16:27:18 +0100 Organization: A noiseless patient Spider Message-ID: References: <87cbc5e6-d44a-401f-ba40-d5cd00d29398@googlegroups.com> <1nh8kazthkfkx.wahq74dz8xgx.dlg@40tude.net> <12b443cd-0781-4163-b617-babd30d11142@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="a9272c9c584810f74e3f95ce46cbeceb"; logging-data="26086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s5rs5xLmxwnVgpdcD4hTXPGeGYajWw1o=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) Cancel-Lock: sha1:9rpHYjIGTr6S0T+gQM/w3vBOk3Q= sha1:l8LvQ9DdUhzVfjo82nwd+pd+I9I= Content-Type: text/plain Date: 2012-09-07T16:27:18+01:00 List-Id: alb348@gmail.com writes: > On Friday, September 7, 2012 4:13:42 PM UTC+2, Dmitry A. Kazakov wrote: > >> ARM B.3 is all you need, assuming that OS interfaces are in C. It is 2-3 >> API functions you have to import plus some constants to declare. 1-2 hours >> of work... > > Could you please provide a link to ARM B.3? My Google search turnep > unclear results... http://www.ada-auth.org/standards/12rm/html/RM-B-3.html > Also, will the output of this tool be usable directly from within Ada > programs? Or will some external interfaces/dependencies still be > required? Thanks again. Tool? Dmitry is suggesting that you use the documentation of the C API functions that your OS provides to write Ada declarations of those functions and any constants used as parameters. Then, you can link your Ada programs using those bindings with the same OS library that you would supply to a C program calling the same API.