From: "DuckE" <nospam_steved94@home.com>
Subject: Re: text_io is not a predefined library
Date: Tue, 13 Mar 2001 04:54:33 GMT
Date: 2001-03-13T04:54:33+00:00 [thread overview]
Message-ID: <dKhr6.559748$U46.16631404@news1.sttls1.wa.home.com> (raw)
In-Reply-To: 3aad6b31_5@news.chariot.net.au
Text_Io is a child of Ada.
Try:
with Ada.Text_Io;
use Ada.Text_Io;
SteveD
"Andrew Busolin" <abusolin@chariot.net.au> wrote in message
news:3aad6b31_5@news.chariot.net.au...
> Hi there,
>
> I have written a little hello world program in an effort to test out the
ada
> compiler I have recently downloaded. I am able to compile it using
> gcc -c -gnats -c hello.adb, however when I try to gnatmake it using
> gnatmake -c hello.adb it returns "ada.text_io" is not a predefined library
> unit
> compilation abandoned!!!
>
> Can someone please tell me why this is and how I can fix it!
>
> Best Regards
>
> Andrew Busolin
>
>
> with Text_Io;
> use Text_Io;
>
> procedure hello is
> begin
> Put("hello");
> end hello;
>
>
next prev parent reply other threads:[~2001-03-13 4:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-13 0:35 text_io is not a predefined library Andrew Busolin
2001-03-13 0:51 ` Jeff Creem
2001-03-13 4:54 ` DuckE [this message]
2001-03-13 6:18 ` Andrew Busolin
2001-03-13 10:47 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox