TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jerry van Dijk <[log in to unmask]>
Sun, 11 Jul 1999 11:24:03 +0200
text/plain (23 lines)
Steven Deller wrote:

> Use POSIX Ada 1003.5.  It has everything you want, and should work across
> almost all OS systems, especially UNIX.  All vendors of Ada compilers support
> POSIX Ada to my best knowledge.
>
> Doing anything else is non-portable because OS interfaces are non-portable.

Not for everything. A lot of useful OS functionalitity is on most systems
available through the standard C and Posix libraries. As the interface to
C is standardized by Ada, you can use a lot of OS functionality without
resorting to a POSIX binding.

In practice, of course, the portablility will be restricted by the degree
in which the Ada compiler manafacturer inplemented proper sementics for
the C interface, and what diversions of the ANSI-C and POSIX standards
the OS and C manufacturers allowed/build-in.

--
-- Jerry van Dijk | Leiden, Holland
-- Team Ada       | [log in to unmask]
-- see http://stad.dsl.nl/~jvandyk

ATOM RSS1 RSS2