comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Ada & MacOS
Date: Fri, 03 Feb 2006 08:32:53 +0100
Date: 2006-02-03T08:32:53+01:00	[thread overview]
Message-ID: <5v0vrd.9qs.ln@hunter.axlog.fr> (raw)
In-Reply-To: <dru3u7$2fhj$1@node1.news.atman.pl>

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



  reply	other threads:[~2006-02-03  7:32 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 10:53 Ada & MacOS sg
2006-02-02 14:48 ` Alex R. Mosteo
2006-02-02 17:13 ` Martin Krischik
2006-02-02 19:37   ` sg
2006-02-02 21:30     ` Björn Persson
2006-02-02 23:17       ` sg
2006-02-03  7:32         ` Jean-Pierre Rosen [this message]
2006-02-03 19:38           ` Jeffrey R. Carter
2006-02-06 10:15             ` Jean-Pierre Rosen
2006-02-03 16:27         ` Martin Krischik
2006-02-03 19:43           ` Jeffrey R. Carter
2006-02-04  7:04             ` Martin Krischik
2006-02-04 14:32               ` Georg Bauhaus
2006-02-06  8:20           ` Maciej Sobczak
2006-02-06 18:48             ` Jeffrey R. Carter
2006-02-06 20:44               ` Hyman Rosen
2006-02-07  9:10               ` Maciej Sobczak
2006-02-07 16:16                 ` Martin Krischik
2006-02-08  4:51                 ` Jeffrey R. Carter
2006-02-08  7:35                   ` Alex R. Mosteo
2006-02-09 14:52                   ` Maciej Sobczak
2006-02-06 19:25             ` Martin Krischik
2006-02-06 20:34               ` Hyman Rosen
2006-02-07 16:13                 ` Martin Krischik
2006-02-03 23:55         ` Simon Williams
2006-02-04 16:22 ` Adrian Hoe
2006-02-04 16:25 ` Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox