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: 103376,59d666bca086a225 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!grolier!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Ada & MacOS Date: Fri, 03 Feb 2006 08:32:53 +0100 Organization: Adalog Message-ID: <5v0vrd.9qs.ln@hunter.axlog.fr> References: <1776691.hMkAr8ZQHy@linux1.krischik.com> <6SuEf.155126$dP1.513381@newsc.telia.net> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1138953671 859 195.25.228.57 (3 Feb 2006 08:01:11 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 3 Feb 2006 08:01:11 +0000 (UTC) User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:2756 Date: 2006-02-03T08:32:53+01:00 List-Id: sg a �crit : > OK but how with the compatibility of code compiled on Gnat that is part > of GCC between MacOS, Windows and Linux ? > Since you insist on the issue of differences between compilers, I see that you come from another world :-), therefore some clarification may be in order. All Ada compilers (not only the various incantations of Gnat) compile *exactly* the same language. Full Stop. Differences you may find are related to - Places where the language purposedly defines things as "implementation dependent" - Usage of some pragmas where the language allows them to be implementation defined. - Differences in libraries. For the first two, it is easy to simply avoid using the features. Ada was designed to *allow* benefitting from the peculiarities of a machine, but the language is powerful enough to write almost anything without resorting to these. For libraries (and especially GUI libraries like GTK), it is not a matter of compiler, it is a matter of... libraries. Simply choose a library that has been ported to the OSs you want to target. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr