comp.lang.ada
 help / color / mirror / Atom feed
* gnat3.10 Win95 saya command line not part of Ada
@ 1997-09-23  0:00 William Paul Berriss
  1997-09-24  0:00 ` Pascal Obry
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: William Paul Berriss @ 1997-09-23  0:00 UTC (permalink / raw)




Hi

I have GNAT3.10 for win95 and I cannot quite get it working.
Bascially, when I commpile a program that uses Ada.Command_Line
it says that Command_Line is not a precompiled library thingy.

I know it is, and a-comlin.ads .adb.ali all exist.

I have ADA_INCLUDE environment variables and others which
I run from a batch file before running gnatmake.
They are set up soGNAT can find its own and my library files.

But is cannot seem to find the precompiled ones.

Can anyone tell me what environment variable to use and
what path is should be set equal.

I have tried d:\usr\..\..\gcc-lib\i386-pc-??\..\adalib
and others but this does not seem to fix it.

I alsotried forward and back slashes and colons instead
of semicolon to separate the paths in each environment
setting.  These made it find MY library files but not its
own precompiled one still.

I also thought I may not need such settings since only gnat 2.02
told me about them and since that I have jsut guessed to use them.
May be gnat3.10 should work OK straight off?

I installed to d:\Usr as it said.

*Any* advice most welcome, I have run out of ideas.

Thanks in anticipation of a reply.

Sincerely

Will Berriss
------------


W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html








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

* Re: gnat3.10 Win95 saya command line not part of Ada
  1997-09-23  0:00 gnat3.10 Win95 saya command line not part of Ada William Paul Berriss
  1997-09-24  0:00 ` Pascal Obry
@ 1997-09-24  0:00 ` Philip Brashear
  1997-09-24  0:00   ` William Paul Berriss
  1997-09-24  0:00 ` Gnat3.10 Win95 says " William Paul Berriss
  2 siblings, 1 reply; 6+ messages in thread
From: Philip Brashear @ 1997-09-24  0:00 UTC (permalink / raw)



In article <Pine.SOL.3.96.970923171227.16459A-100000@suma3.reading.ac.uk>,
William Paul Berriss  <strberis@reading.ac.uk> wrote:
>
>Hi
>
>I have GNAT3.10 for win95 and I cannot quite get it working.
>Bascially, when I commpile a program that uses Ada.Command_Line
>it says that Command_Line is not a precompiled library thingy.

When I've had a similar problem, it's because I did not use the
full name, and the above hints that you might have done the same.
That is, you must refer to the package as "Ada.Command_Line" in
all occurrences (or use a "renames").

In my case, I often have "with Ada.Text_IO;" and then, in my code,
write "Text_IO.Put_Line ... ".  I get a complaint that Text_IO is
not recognized.

(Yes, that's a kind of dumb thing for me to do, but I do it anyway.)

Good luck!
Phil Brashear




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

* Re: gnat3.10 Win95 says Command_line not part of Ada precompiled
  1997-09-24  0:00 ` Pascal Obry
@ 1997-09-24  0:00   ` William Paul Berriss
  0 siblings, 0 replies; 6+ messages in thread
From: William Paul Berriss @ 1997-09-24  0:00 UTC (permalink / raw)



Hi

Can I get a patch for this?

If is is only 1 or 2 files that need replacing could
someone tell me where I could get them and I'll just replace them
myself manually?

I don't wish to download the whole lot again, and
how do I know if a site has a working copy or not?

I only downloaded my copy 4 days ago  (21 Sep) and nothing has changed 
at this site (which says 15 Sep).

Also, NYU's site has a date of the 15 Sep, so nout has changed there
either.

So, what am I looking for? if I want a working copy
of gnat3.10 for Win NT/95 and not a dodgy copy?

Thanks in advance

Will Berriss
------------
-- 

W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html




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

* Re: gnat3.10 Win95 saya command line not part of Ada
  1997-09-24  0:00 ` gnat3.10 Win95 saya command line not part of Ada Philip Brashear
@ 1997-09-24  0:00   ` William Paul Berriss
  0 siblings, 0 replies; 6+ messages in thread
From: William Paul Berriss @ 1997-09-24  0:00 UTC (permalink / raw)
  To: Philip Brashear


Hi

Thanks for the advice but it can't be that as all my
program already compile OK at work, it is at
home they won't compile.

It is definietely the fact that my
ADA_INCLUDE_PATH is not being seen by gnat,
as when I take out the ../adainclude from my ada_include_path at
work I get the same error message.

i.e 

strberis@stssrita% gcc -c pixel_counter.adb
pixel_counter.adb:16:06: "Ada.Command_Line" is not a predefined library
unit
compilation abandoned

So may be this is the known bug that I have.

Thanks

Will
----

-- 

W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html




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

* Re: Gnat3.10 Win95 says command line not part of Ada
  1997-09-23  0:00 gnat3.10 Win95 saya command line not part of Ada William Paul Berriss
  1997-09-24  0:00 ` Pascal Obry
  1997-09-24  0:00 ` gnat3.10 Win95 saya command line not part of Ada Philip Brashear
@ 1997-09-24  0:00 ` William Paul Berriss
  2 siblings, 0 replies; 6+ messages in thread
From: William Paul Berriss @ 1997-09-24  0:00 UTC (permalink / raw)



Hi

I also had to put the path to gnat1 in my DOS PATH 
environment variable setting as it said Installation error,
cannot find gnat1, when I first tried to compile something
with gnatmake.

That has fixed that problem.

Am I supposed to do that?

(I had to do this on UNIX too (and Linux) for Gnat version 3.07.)

Any ideas on why my GNAT3.10 on win95 
cannot find its Ada.Command_Line precompiled library?

What path setting do I need?
e.g for
ADA_INCLUDE_PATH
ADA_OBJECTS_PATH
LIBRARY_PATH

etc?

Does a README or setup.txt file exist anywhere for GNAT 3.10?
I cannot find one on my Win95 installation under D:\Usr

Thanks in advance

Will Berriss
------------

-- 

W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html




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

* Re: gnat3.10 Win95 saya command line not part of Ada
  1997-09-23  0:00 gnat3.10 Win95 saya command line not part of Ada William Paul Berriss
@ 1997-09-24  0:00 ` Pascal Obry
  1997-09-24  0:00   ` gnat3.10 Win95 says Command_line not part of Ada precompiled William Paul Berriss
  1997-09-24  0:00 ` gnat3.10 Win95 saya command line not part of Ada Philip Brashear
  1997-09-24  0:00 ` Gnat3.10 Win95 says " William Paul Berriss
  2 siblings, 1 reply; 6+ messages in thread
From: Pascal Obry @ 1997-09-24  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]


 This was a know problem with the first version of GNAT 3.10p for NT.
You should be able to download a new version now.

Pascal.

--

--|------------------------------------------------------------
--| Pascal Obry                               Team-Ada Member |
--|                                                           |
--| EDF-DER-IPN-SID- Ing�nierie des Syst�mes d'Informations   |
--|                                                           |
--| Bureau G1-010           e-mail: pascal.obry@der.edfgdf.fr |
--| 1 Av G�n�ral de Gaulle  voice : +33-1-47.65.50.91         |
--| 92141 Clamart CEDEX     fax   : +33-1-47.65.50.07         |
--| FRANCE                                                    |
--|------------------------------------------------------------
--|
--|   http://ourworld.compuserve.com/homepages/pascal_obry
--|
--|   "The best way to travel is by means of imagination"








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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-23  0:00 gnat3.10 Win95 saya command line not part of Ada William Paul Berriss
1997-09-24  0:00 ` Pascal Obry
1997-09-24  0:00   ` gnat3.10 Win95 says Command_line not part of Ada precompiled William Paul Berriss
1997-09-24  0:00 ` gnat3.10 Win95 saya command line not part of Ada Philip Brashear
1997-09-24  0:00   ` William Paul Berriss
1997-09-24  0:00 ` Gnat3.10 Win95 says " William Paul Berriss

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