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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ec027d79edf367ae X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-08 19:47:12 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!news.uh.edu!uuneo.neosoft.com!Starbase.NeoSoft.COM!not-for-mail From: daver@Starbase.NeoSoft.COM (Dave Retherford) Newsgroups: comp.lang.ada Subject: Re: GNAT problem: Hello World Date: 8 Dec 1994 21:37:38 -0600 Organization: NeoSoft Internet Services +1 713 684 5969 Message-ID: <3c8je2$n99@Starbase.NeoSoft.COM> References: <2EE640BF@SMTPGATE2.STRATCOM.AF.MIL> NNTP-Posting-Host: starbase.neosoft.com Date: 1994-12-08T21:37:38-06:00 List-Id: In article <2EE640BF@SMTPGATE2.STRATCOM.AF.MIL>, Bennett, Chip (KTR) ~U wrote: > Jacob Sparre Andersen writes: > > > I've got a problem with GNAT-1.83-DOS (just downloaded from ftp.cdrom.com > > yesterday): > > > > The Hello.adb example freezes the computer when I try > > to run it. It seems to compile and link fine. > > > > Could somebody please help me (or point me to some help). > > and W ALI writes: > > > I'm having exactly the same problem too ! > > > > I've even tried typing a short program myself, but this tells me that the > > program is too big for memory. This is impossible as it is only a few > > lines long. Anybody ? > > Are you remembering that "gnatbl" in 1.83 does not create a .EXE file, but > rather a COFF executable. If you create your executable with: > > gnatbl test1 -o test1 > > Then you can execute it with: > > go32 test1 > > or convert it to a DOS executable with: > > coff2exe test1 > > I've heard that "gnatbl" in GNAT 2.00 generates DOS executables directly. > It does. I just downloaded it from nyu and installed it over my 1.83 installation and then compiled the hello world example with no problem. It does build an .exe file right out of gnatbl. One caution, make sure that when you run gnatbl that you use the -o option and name your file xxx.exe (DOS expects either a .exe or .com or .bat file when typed at the command line). > By the way, send all problems with GNAT to gnat-report@cs.nyu.edu. Your > welcome Robert. 8-) > Right! Not that I'm tired of Robert's posts, but I'm sure that his poor old fingers can use a break from ... for GNAT problems send a message to gnat-re....... :-). Dave. -- Dave Retherford | Daver@Neosoft.com or: | Dave_Retherford@hso.link.com [work] |