From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6d6e2be55d9e0faf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-12 22:24:02 PST From: "Andrew Busolin" Newsgroups: comp.lang.ada References: <3aad6b31_5@news.chariot.net.au> Subject: Re: text_io is not a predefined library Date: Tue, 13 Mar 2001 16:48:34 +1030 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 210.9.20.191 Message-ID: <3aadbb98$1_2@news.chariot.net.au> X-Trace: 13 Mar 2001 16:48:00 +1050, 210.9.20.191 Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!news.tig.com.au!meganews.ihug.com.au!news.esc.net.au!news.saix.saia.asn.au!news.chariot.net.au!210.9.20.191 Xref: supernews.google.com comp.lang.ada:5673 Date: 2001-03-13T16:48:34+10:30 List-Id: Steve, I have tried using with Ada.Text_Io; use Ada.Text_Io; however still get the same response! For some strange reason I think it is not finding the library! The file however does exist in the adalib directory. I am using the gnat310 compiler. Do you have any other thoughts that may help me? Best Regards Andrew DuckE wrote in message news:dKhr6.559748$U46.16631404@news1.sttls1.wa.home.com... > Text_Io is a child of Ada. > > Try: > with Ada.Text_Io; > use Ada.Text_Io; > > SteveD > > "Andrew Busolin" 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; > > > > > >