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!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!feeder2-1.proxad.net!news2-e.free.fr!not-for-mail From: JCS Subject: Re: GNAT and no runtime Date: Wed, 26 May 2004 14:33:30 +0200 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada References: <5ad0dd8a.0405260252.6523893f@posting.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Organization: Guest of ProXad - France NNTP-Posting-Date: 26 May 2004 14:33:50 MEST NNTP-Posting-Host: 217.108.166.156 X-Trace: 1085574830 news2-e.free.fr 21569 217.108.166.156:2448 X-Complaints-To: abuse@proxad.net Xref: controlnews3.google.com comp.lang.ada:851 Date: 2004-05-26T14:33:50+02:00 List-Id: On Wed, 26 May 2004 03:52:40 -0700, Wojtek Narczynski wrote: > http://polaris.dit.upm.es/~str/proyectos/ork/ Thanks. >> 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? I use the binder code, yes. But why would I need to tweak it? (Futhermore it would be annoying since it is regenerated at each compile!) >> 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. Yes, what a work for just a "hello world" message! :-) > 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... No, I would also be interested by the answer since the big file set of GNAT is somewhat confusing. Thanks, JC