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,6216cea7ed8d90a9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-02 06:36:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newscore.gigabell.net!fu-berlin.de!uni-berlin.de!200-221-14-196.dsl-sp.uol.com.BR!not-for-mail From: Cesar Rabak Newsgroups: comp.lang.ada Subject: Re: GNAT Ada 3.13 + DOS revisted Date: Fri, 02 Mar 2001 11:34:36 -0300 Message-ID: <3A9FAF7C.5481BA7F@uol.com.br> References: <983538732.184184@ernani.logica.co.uk> NNTP-Posting-Host: 200-221-14-196.dsl-sp.uol.com.br (200.221.14.196) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 983543691 26412192 200.221.14.196 (16 [39218]) X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: pt-BR,es,en Xref: supernews.google.com comp.lang.ada:5376 Date: 2001-03-02T11:34:36-03:00 List-Id: Ashley Collins wrote: > > More problems I'm afraid. Can anyone help? > > I've concluded that it is not possible to run GNAT 3.13 on a DOS-only > machine. Instead, you have to run GNAT 3.13 on a Windows machine and then > transfer executables across to the DOS machine. Is this right? > > Unfortunately, when I try this I get a 'This program cannot be run in DOS > mode' error. I have tried using the CWSDPMI dos extender that comes with > DJGPP but it makes no difference. You should be sure the files you're intending to run are in fact DPMI execs. The msg you're getting is more similar to the stubs PEs have attached. A DJGPP exec would have something like "no DPMI - Get csdpmi*b.zip". > > The source code that I am trying to compile also uses long file names, which > don't work under DOS. So, my overall question is: does anyone know how I > can compile a load of Ada source code (with long file names) that can run on > a PC than *only* has DOS installed? Have you tried the utility gnatk8 which comes with the gnat distribution? HTH Cesar