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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,be0ffa00e7ee1ac6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-30 09:01:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!hub1.nntpserver.com!hub1.meganetnews.com!newsfeed.sjc.globix.net!cyclone-sf.pbi.net!64.245.249.51!sfo2-feed1.news.algx.net!allegiance!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: "Sergey Koshcheyev" Newsgroups: comp.lang.ada Subject: Re: An OS in Ada, why not RTEMS ? Date: Tue, 30 Apr 2002 17:59:22 +0200 Organization: Czech Technical University Message-ID: References: NNTP-Posting-Host: m232.dkm.cz X-Trace: ns.felk.cvut.cz 1020182356 62400 62.24.78.232 (30 Apr 2002 15:59:16 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Tue, 30 Apr 2002 15:59:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:23277 Date: 2002-04-30T17:59:22+02:00 List-Id: "James Ross" wrote in message news:su5scukancprperd00vheacibv6b80fa3n@4ax.com... > My idea *was* to just support a raw binary executable image that not > only the kernel would be in, but other programs that could be loaded > and executed by the kernel. (Perhaps I needed more info on this > issue, but I *was* certain it would be possible). If I were willing > to dig into the details of ELF to support loading it right away, then > I might as well chose PE ... since I prefer to use GNAT from (my main > computer) Windows XP. (And of course GNAT on Windows cannot create > ELFs.) I still don't use Linux as my main computer - but that is a > whole other issue :) Well, if you don't want ELF or PE, there's nothing complicated involved in getting a raw .bin. I think just using a --oformat switch for ld will do this. Or you can use objcopy. I started talking about ELF, because it is easier to load an ELF file using GRUB than it is to write your own bootloader for binary files. Other than that, it isn't said anywhere that OSes should use this or that format for their kernels :-) > As for the initial boot process and the ELF issues -- understand that > what I have been saying is how I *was* going to tackle the process if > it were up to me. I have all but given up at this point. If I were > to help someone else, then the design would be whatever basically > exists and works for that person(s) ... I would be willing to work on > a Linux box (I am not allergic to it!) and support whatever version of > an Ada OS emerges ... Uh, I was just replying to the specific question of whether it is possible to get a raw binary file using GNAT. It is. I have no idea myself about what I would put into an OS or how I would design it. Sergey.