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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7a27b8f727dd1e47 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: GNAT and no runtime Date: 26 May 2004 03:52:40 -0700 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0405260252.6523893f@posting.google.com> References: NNTP-Posting-Host: 83.27.33.203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1085568760 31375 127.0.0.1 (26 May 2004 10:52:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 May 2004 10:52:40 +0000 (UTC) Xref: controlnews3.google.com comp.lang.ada:849 Date: 2004-05-26T03:52:40-07:00 List-Id: 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