From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Version 1.0 Release of aShell Date: Thu, 18 Feb 2021 16:06:00 +0200 Organization: Tidorum Ltd Message-ID: References: <9ad30173-c56b-4889-b2be-6caab9fd9216n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net dYC+RRLG2MopPGs5irOQHg9nhcCYSd1nMaJQPb9H24Wm2fIfLm Cancel-Lock: sha1:vYAH1/0VnPpvU/M0MuSVwEdPv30= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:61376 List-Id: On 2021-02-18 13:29, Rod Kay wrote: > On Wednesday, 17 February 2021 at 22:05:19 UTC+11, Jeffrey R. Carter wrote: >> On 2/17/21 12:09 AM, Rod Kay wrote: >>> Comments, especially criticism, very welcome :) . >> Is this compiler and OS independent? >> >> -- >> Jeff Carter >> "It's symbolic of his struggle against reality." >> Monty Python's Life of Brian >> 78 > > Atm, the code uses Florist for 'POSIX' and one function from 'GNAT.OS_Lib'. > > Florist appears to be gnat-specific ... Florist is an implementation of a standard for Ada-POSIX bindings, https://www.iso.org/standard/34354.html, so the Florist API should not be GNAT-specific. However, the implementation of Florist may depend on the underlying system, including the Ada compiler and the OS. Using the Florist API, rather than using GNAT libraries or OS functions directly, should increase the potential portability. Actual portability will depend on the existence of implementations, for the target system, of Florist or other realizations of the standard Ada-POSIX binding.