comp.lang.ada
 help / color / mirror / Atom feed
From: wojtek@power.com.pl (Wojtek Narczynski)
Subject: Re: GNAT and no runtime
Date: 26 May 2004 03:52:40 -0700
Date: 2004-05-26T03:52:40-07:00	[thread overview]
Message-ID: <5ad0dd8a.0405260252.6523893f@posting.google.com> (raw)
In-Reply-To: pan.2004.05.25.20.56.53.697296@hejmreto.net

Hello,

> I'm trying to create a toy-OS in Ada and I'm still in the very begining
> yet.

Two good sources of information on GNAT runtime:

http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/main.htm
http://polaris.dit.upm.es/~str/proyectos/ork/

(The second may be more interesting for you)

> The "kernel" can boot (with the help of GRUB), I can print a "Hello
> world" text, and retrieve some informations from the bootloader.

Congrats! Did you use / tweak the b~main.ad[sb] (binder) code?

> Before going further, I would like to take advantage of Ada, so at least
> use exceptions.

I think you can "gnatmake" your program with -a (Consider all files)
to find out which files from the runtime are necessary for it to run.
For your Main procedure it gives:

s-stalib.adb, a-except.adb, system.ads, s-exctab.adb, s-memory.adb,
s-soflin.adb, ada.ads, a-elchha.adb, interfac.ads, s-mastop.adb,
s-secsta.adb, s-stoele.adb, s-traceb.adb, s-unstyp.ads, s-traent.adb,
s-htable.adb, s-crtl.ads, s-parame.adb, s-stache.adb, s-maccod.ads,
s-except.ads

It is very likely that you'll have to tweak some of those files.

By the way, do you know how to expand those filenames to full names,
or at least create symlinks with full length names? It would be so
much easier...

Regards,
Wojtek



  parent reply	other threads:[~2004-05-26 10:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 20:57 GNAT and no runtime JCS
2004-05-26  7:46 ` Rolf Ebert
2004-05-26 12:17   ` JCS
2004-05-28 15:13   ` JCS
2004-05-26 10:52 ` Wojtek Narczynski [this message]
2004-05-26 12:33   ` JCS
2004-05-26 16:05     ` Martin Krischik
2004-05-27  9:40       ` Wojtek Narczynski
2004-05-28 20:42       ` Wojtek Narczynski
2004-06-08  5:43         ` Martin Krischik
2004-06-09  5:07           ` Simon Wright
2004-06-09  6:22             ` Martin Krischik
2004-06-09  7:20               ` Martin Dowie
2004-06-09  7:52                 ` Martin Krischik
2004-06-09  9:26                   ` Martin Dowie
2004-06-09 11:50                     ` Martin Krischik
2004-06-10  5:15                       ` Simon Wright
2004-06-09 16:33             ` Robert I. Eachus
2004-05-27 10:23     ` Wojtek Narczynski
2004-05-27 12:45       ` JCS
2004-05-26 19:51   ` Georg Bauhaus
2004-05-27  9:43     ` Wojtek Narczynski
2004-05-26 16:44 ` sk
2004-05-26 17:42   ` JCS
2004-05-26 21:33     ` sk
2004-05-26 23:12       ` JCS
2004-05-27 13:58         ` sk
2004-05-27 21:30           ` JCS
2004-05-27 22:42             ` sk
replies disabled

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