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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b7d0df4caba54f2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.150.90 with SMTP id x26mr941820bkv.6.1331569422372; Mon, 12 Mar 2012 09:23:42 -0700 (PDT) Path: t13ni129161bkb.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 12 Mar 2012 17:23:40 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ncurses and Ada References: <87wr6tu07k.fsf@ludovic-brenta.org> <6328649.647.1331540330318.JavaMail.geo-discussion-forums@vbbfy7> <8472247.615.1331547623187.JavaMail.geo-discussion-forums@vblb5> <4f5df837$0$7613$9b4e6d93@newsspool1.arcor-online.net> In-Reply-To: Message-ID: <4f5e230d$0$7616$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 12 Mar 2012 17:23:41 CET NNTP-Posting-Host: e521ed04.newsspool1.arcor-online.net X-Trace: DXC=mW9Te;T\j6I^B]`=U:WelBic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgBlY\DnWb[:EBnc\616M64>JLh>_cHTX3jM>gejInZASJE X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-03-12T17:23:41+01:00 List-Id: On 12.03.12 15:33, Simon Wright wrote: > Georg Bauhaus writes: > >> According to $(man hier), an Ada compiler's spec files would not >> normally be counted among UNIX System Resources, specifically not in >> /usr/include, and since /usr/share seems to be the place for >> architecture independent files, the current paths seem o.K. to me. > > I don't have a Linux box immediately to hand, but Apple seem to think > it's OK to include Tcl & Python (neither of which is mentioned in `man > hier`, any more than Ada is) in /usr/include. The header files seem to be mostly for interfacing to the language (or library). Objective-C has its "objc" subdirectory, too. So do PHP and some "system components". Still, the bulk of what (I think) would correspond to the Ada RTS, or AWS or Ada libraries in general lives in /System/Library/Frameworks/{Tcl,Python}.framework/Versions, alongside Cocoa, Ruby, IOKit, LDAP, ... I'd nevertheless hope to find, in an "ada" subdirectory of /usr/include, Ada related header files for cross language programming. For example,if GNAT is a system compiler, one might then write #include and then the C compiler knows about functions (ultimately) named void adainit (void); void adafinal (void); Thus, if other compilers have a comparable mechanism, the ARG could bless names of functions controlling it, and programs that call Ada parts from C parts would be made portable by including the system header. Once Apple considers Ada part of the system, they will have done it for us ;-)