comp.lang.ada
 help / color / mirror / Atom feed
From: griest-tom@cs.yale.edu (Tom Griest)
Subject: Re: GNAT 301a with Win95
Date: 1996/06/19
Date: 1996-06-19T00:00:00+00:00	[thread overview]
Message-ID: <4q93m5INNe1g@RA.DEPT.CS.YALE.EDU> (raw)
In-Reply-To: 01bb5da2.dc327500$33668acd@iris.gomontana.com


"Darrin" <darrin@gomontana.com> writes:

>	I have been trying to get GNAT to compile a program that I know works
>with my University account.  I have continued to get two errors:
>
>	1. "text_io (spec)" is not a language defined unit

This type of error usually indicates that you have not setup the environment
variable ADA_INCLUDE_PATH which tells gnat where to find things like text_io.
This is done by running the "setpath" batch file, which is mentioned
in both the setup program and the very beginning of the readme file.

If you run the setpath program and have not configured Win95 to have
sufficent environment space, then you get an error message while the
setpath is running.  Since you didn't mention any such message, my
guess is that this isn't your problem.  However, if you ever do see
an "out of environment space" message, the readme file tells you how
to increase your environment space.

> 	2. warning: file name does not match unit name, should be "test.adb"
[...]
> for the second, the main procedure is called
>test and the file is test.adb.

>BTW, the commad line is as follows:
>
>	$ c:/ada/gnat301a/gcc -c c:/ada/lab3/test.adb

This does not look like a typical Win95 command invocation.  For one
thing, you should be using  '\' instead of '/'.  Is it possible you
are running some command shell other than the one that comes with Win95?

Try invoking the setpath program, changing directory to the place
where your program is, and typing

      gcc -c test.adb


>I admit that I haven't exhausted all attempts at reading the help file,
>but then again, the help file is somewhat confusing...at least to me. 

Perhaps you could send me (via email) specific examples of what you
find confusing and I will see if they can be made simpler.

-Tom




  reply	other threads:[~1996-06-19  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-18  0:00 GNAT 301a with Win95 Darrin
1996-06-19  0:00 ` Tom Griest [this message]
1996-06-19  0:00 ` David Hopkins
1996-06-21  0:00   ` Robert Dewar
1996-06-20  0:00 ` Theodore E. Dennison
1996-06-21  0:00   ` Vadim Epmak
1996-06-23  0:00     ` Robert Dewar
1996-06-24  0:00     ` Theodore E. Dennison
1996-06-25  0:00     ` Walter B. Hollman Sr.
1996-06-21  0:00   ` Robert Dewar
1996-06-29  0:00 ` test name clash on unix. was: " Nasser Abbasi
1996-06-29  0:00   ` Robert Dewar
1996-06-29  0:00   ` Richard Kenner
replies disabled

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