comp.lang.ada
 help / color / mirror / Atom feed
From: Cesar Rabak <csrabak@uol.com.br>
Subject: Re: GNAT Ada 3.13 + DOS revisted
Date: Fri, 02 Mar 2001 11:34:36 -0300
Date: 2001-03-02T11:34:36-03:00	[thread overview]
Message-ID: <3A9FAF7C.5481BA7F@uol.com.br> (raw)
In-Reply-To: 983538732.184184@ernani.logica.co.uk

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



  reply	other threads:[~2001-03-02 14:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-02 13:12 GNAT Ada 3.13 + DOS revisted Ashley Collins
2001-03-02 14:34 ` Cesar Rabak [this message]
2001-03-02 20:16 ` Randy Brukardt
2001-03-02 21:06   ` Ted Dennison
2001-03-03  1:28     ` Randy Brukardt
2001-03-03  3:28     ` Al Christians
2001-03-03  9:17       ` Gautier de Montmollin
2001-03-03 16:23         ` tmoran
2001-03-04 22:42           ` Gautier de Montmollin
2001-03-04 23:36             ` tmoran
2001-03-05  1:45               ` Al Christians
2001-03-05  3:01                 ` tmoran
2001-03-05  1:56             ` Got bitten by GNAT.Table Hervé Bitteur
2001-03-05 12:41               ` Mario Amado Alves
2001-03-07 21:33               ` Stephen Leake
2001-03-08  4:07                 ` Hervé Bitteur
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox