comp.lang.ada
 help / color / mirror / Atom feed
* Problem Running Gnat On Windows 95
@ 1996-02-24  0:00 terence
  1996-02-24  0:00 ` Tom Griest
  0 siblings, 1 reply; 2+ messages in thread
From: terence @ 1996-02-24  0:00 UTC (permalink / raw)


	I am new to programming, and wish to learn to program in Ada.  I
reciently downloaded the Windows 95 version of Gnat, and am having
some troubles getting it to work properly.
	When I try to compile the simple "Hello World" program that comes in
the examples directory with the software, by typing "gcc -c hello.adb"
I get the following response: 
GCC.EXE: hello.adb: No such file or directory.
	When I try adding the path to the command by typing 
"gcc -c c:\gnat301a\examples\hello.adb" I get the following response:
c:\gnat301a\examples\hello.adb(1) : 06: "Gnat.Io (spec)" is not a
language defined unit       compilation abandoned.
	I get relatively the same response when trying to compile other
example programs.
	I have run the setpath.bat, although I believe that this could have
something to do with the problem, as when it is run it gives each of
the commands as follows:
	C:\gnat301a>set ADA_INCLUDE_PATH=\ADAINCLUDE
	OUT OF ENVIRONMENT SPACE
	etc, etc, etc, with each command line being followed with the Out of
environment space message.  I have tried running the setpath.bat in
various ways and once in a while can get it to run the first couple of
parimeters without the Out of environment space message, but the later
ones always have it.
	I am kind of impatient to get started into this type of programming,
and any help would be greatly appriciated.  Thanx.  

terence@agt.net





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem Running Gnat On Windows 95
  1996-02-24  0:00 Problem Running Gnat On Windows 95 terence
@ 1996-02-24  0:00 ` Tom Griest
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Griest @ 1996-02-24  0:00 UTC (permalink / raw)


In article <4gmf7b$hqi@tigger.planet.eon.net> terence@agt.net writes:

[symptoms snipped]

>	I have run the setpath.bat, although I believe that this could have
>something to do with the problem, as when it is run it gives each of
>the commands as follows:
>	C:\gnat301a>set ADA_INCLUDE_PATH=\ADAINCLUDE
>	OUT OF ENVIRONMENT SPACE

You must edit the properties of the DOS command window.  Right click
on the command.com (or a shortcut you put on the desktop) and select
properties.  Select the "memory" tab, and set the environment space
to 1024 bytes or better.

We have tried to use the Win95 online help to fix this "problem" of
the "auto" environment sizing, but when we tested it, Win95 would
no longer boot!  Unfortunately, Win95 seems to ignore the environment
key in the registry.  We will continue to investigate this Win95
nonsense, and hopefully will make the installation more bullet proof.

(you should always keep an eye on ftp.cs.yale.edu/pub/gnat/updates
to see if any fixes come out which effect the Win32 versions of GNAT)

-Tom Griest
LabTek : GNAT/Win32 support




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-02-24  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-24  0:00 Problem Running Gnat On Windows 95 terence
1996-02-24  0:00 ` Tom Griest

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