comp.lang.ada
 help / color / mirror / Atom feed
From: Lutz Donnerhacke <lutz@iks-jena.de>
Subject: Re: "new" word
Date: Thu, 17 Mar 2005 14:38:49 +0000 (UTC)
Date: 2005-03-17T14:38:49+00:00	[thread overview]
Message-ID: <slrnd3j5jp.of.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 87psxz3daz.fsf@deneb.enyo.de

* Florian Weimer wrote:
> * Adrian Knoth:
>> Another way would be to specify the Kernel-ABI, but I don't expect
>> this to happen earlier than Hurd ;)
>
> The kernel ABI is fairly stable.  There are only a few dozen syscalls,
> and it's easy to write Ada wrappers for them.

IBTD.
The parameters of the syscalls are usually C-header-file defined structures.
The memory layout of those structures are hard to determine.
BTDT.

> It doesn't buy you that much because large parts of the GNAT run-time
> on GNU systems rely on services provided by the C run-time library.

It uses a C-written wrapper for those bindings.
So GNAT does not know the ABI but obtain it from the C compiler.

> Duplicating this infrastructure is the hard work, and doing it right even
> for older kernels is quite a challenge.

Of course, but the job is hard, because there is no defined way to derive
the correct interface portable. The reason why is simple: There is no
portable interface beside C-header files.



  reply	other threads:[~2005-03-17 14:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  9:56 "new" word fabio de francesco
2005-03-16 10:30 ` Vinzent 'Gadget' Hoefler
2005-03-16 11:14   ` Adrian Knoth
2005-03-16 11:42     ` Vinzent 'Gadget' Hoefler
2005-03-16 12:09     ` Thomas Lotze
2005-03-16 13:17       ` fabio de francesco
2005-03-16 13:25         ` Vinzent 'Gadget' Hoefler
2005-03-16 13:40           ` fabio de francesco
2005-03-16 14:34             ` Vinzent 'Gadget' Hoefler
2005-03-16 13:01     ` fabio de francesco
2005-03-17 15:09       ` Lutz Donnerhacke
2005-03-16 13:49     ` Larry Kilgallen
2005-03-16 13:55     ` Florian Weimer
2005-03-17 14:38       ` Lutz Donnerhacke [this message]
2005-03-16 16:23     ` Robert A Duff
2005-03-16 11:07 ` Adrien Plisson
2005-03-16 11:36 ` Larry Kilgallen
2005-03-16 12:53   ` fabio de francesco
2005-03-16 13:10     ` Vinzent 'Gadget' Hoefler
2005-03-16 16:20 ` Robert A Duff
2005-03-18  4:10   ` Wes Groleau
2005-03-18 12:04     ` Larry Kilgallen
2005-03-18 14:05       ` Martin Krischik
2005-03-16 22:12 ` Randy Brukardt
2005-03-18  4:03 ` Wes Groleau
replies disabled

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