delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/28/17:23:50

Date: Thu, 28 Apr 1994 15:27:42 -0400
From: tron!eclus.dnet!connelly AT uunet DOT UU DOT NET (Rich Connelly (410) 765-4485 connelly AT eclus DOT bwi DOT wec DOT com)
To: gnatdos-bug AT uunet DOT UU DOT NET
Cc: CONNELLY AT uunet DOT UU DOT NET
Subject: Can't find Text_IO?

Hi,

   I am posting another query for my friend, Mike Lepore, who does not
have Internet access.  

   He has installed the DOS port of GNAT and is trying to make a test program
work.  The code is:

with Text_IO;
procedure Hello is
begin
   Text_IO.Put_Line ("Hello");
end Hello;

The compiler complains about not being able to find TEXT_IO.ADS.  Apparently,
the DOS distribution encrypts "Ada.Text_IO" into a suitable 8.3 file spec.
He is using the command

>GCC -c -gnatk8 hello.adb

in the same directory as the GNAT source files.  What is he doing wrong?

Thanks for any help in advance...

--Rich Connelly for Mike Lepore

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019