comp.lang.ada
 help / color / mirror / Atom feed
* GNAT DOS Problem Solved
@ 1994-12-17  0:31 FrankPetranka
  0 siblings, 0 replies; only message in thread
From: FrankPetranka @ 1994-12-17  0:31 UTC (permalink / raw)


My PC was hanging up whenever I tried to execute gcc or gnatbl
using the GNAT 2.0 DOS release.  The solution (provided by the
GNAT folks) was to use the EMM386 expanded memory manager provided
by windows.  I added the following line to my config.sys file after
the device=c:\dos\HIMEM.sys line:

device=c:\windows\emm386.sys 3072

(Note: 3072 is the amount of expanded memory in Kbytes.  This
number may need to be smaller for a 4MB PC)

I also added the following line to my autoexec.bat file as suggested
by the djgpp readme file:

call c:\djgpp\bin\setdjgpp c:/djgpp c:\djgpp

This probably wasn't necessary since the setdjgpp.bat file wasn't
included in the GNAT release.

With these additions GNAT runs as advertised on my PC.
P.S.  Using SMARTDRV.SYS will greatly improve compile times.


Disclaimer: The views or opinions expressed in this article are of the user 
and do not, in any manner, reflect that of the Navy.

            Frank J. Petranka          Naval Surface Warfare Center
            (703)663-4849              Dahlgren, Va. 22448
                    fpetran@relay.nswc.navy.mil




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-12-17  0:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-17  0:31 GNAT DOS Problem Solved FrankPetranka

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