comp.lang.ada
 help / color / mirror / Atom feed
From: David Hopkins <hopkindm@vitro.com>
To: Darrin <darrin@gomontana.com>
Subject: Re: GNAT 301a with Win95
Date: 1996/06/19
Date: 1996-06-19T00:00:00+00:00	[thread overview]
Message-ID: <31C7FB3D.6C21@vitro.com> (raw)
In-Reply-To: 01bb5da2.dc327500$33668acd@iris.gomontana.com


Darrin wrote:
> 
> Hello everyone!!
> 
>         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
> 
>         2. warning: file name does not match unit name, should be "test.adb"
> 
> About the first one.  My program starts with: with text_io; use text_io;
> There is not a (spec).  As for the second, the main procedure is called
> test and the file is test.adb.   I even tried to compile the examples that
> come with GNAT and they don't work either.  What am I missing?
> 
> BTW, the commad line is as follows:
> 
>         $ c:/ada/gnat301a/gcc -c c:/ada/lab3/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.
> Thanks for your help.
> 
> Darrin

Sometimes it is hard to get to what you really want in the help files, 
but I think its the best that can be done considering what there is to 
explain.  What I think your problem might be is that there is a bunch of 
lines that need to be added to your autoexec to make this run, including 
things like setting the path to the compiler.  Since your command line 
calls gcc with the directory name on it, I think you haven't done that, 
I expect that Dewar will probably answer this soon, and maybe I'm wrong, 
but I thought I'd send that along in case you need something right away.

Take care.




  parent 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
1996-06-19  0:00 ` David Hopkins [this message]
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   ` Richard Kenner
1996-06-29  0:00   ` Robert Dewar
replies disabled

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