delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/21/15:27:54

Date: Thu, 21 Apr 1994 14:26:50 -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: "djgpp AT sun DOT soe DOT clarkson DOT edu"@uunet.UU.NET
Subject: "Hello world" will not compile

Hi,

  I am submitting this for a friend who does not have e-mail access.
My buddy just tried installing the DOS version of GNAT 1.78 on his Pentium
PC.  He tried to compile a simple "Hello world" program:

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

He says that it complains about not being able to find "main".  He has set
the ADA* environment variables and is using the "-k8" switch.  Any ideas
what might be happening?

--Rich Connelly for Mike Lepore
  connelly AT eclus DOT bwi DOT wec DOT com

- Raw text -


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