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,9481a69308ab1362 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-07 20:15:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.algx.net!allegiance!news-out.visi.com!hermes.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3D2903B8.4D561ECB@computer.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: assembly generated using gcc -S on a .adb References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 08 Jul 2002 03:15:22 GMT NNTP-Posting-Host: 63.184.9.212 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1026098122 63.184.9.212 (Sun, 07 Jul 2002 20:15:22 PDT) NNTP-Posting-Date: Sun, 07 Jul 2002 20:15:22 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:26933 Date: 2002-07-08T03:15:22+00:00 List-Id: KK wrote: > > BTW, I'm aware of gnatbind and gnatlink, and yes those do work and produce an > executable. What I'm wondering is if there is a path to a working executable > without using those utilities. In other words, is there a way for a machine > with just gcc installed, to produce an executable from an asm file that was > generated from an .adb ?? When you understand that gnatbind generates the main program, you will probably understand why you can't simply assemble the assembler output from GNAT to obtain a working program. Check the secret documentation to find out how to keep this generated main program and look at it for an idea of what else is needed to get an Ada program working. -- Jeff Carter "If you think you got a nasty taunting this time, you ain't heard nothing yet!" Monty Python and the Holy Grail