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 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 20:56:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail From: "DuckE" Newsgroups: comp.lang.ada References: <3aad6b31_5@news.chariot.net.au> Subject: Re: text_io is not a predefined library X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Tue, 13 Mar 2001 04:54:33 GMT NNTP-Posting-Host: 24.6.221.63 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 984459273 24.6.221.63 (Mon, 12 Mar 2001 20:54:33 PST) NNTP-Posting-Date: Mon, 12 Mar 2001 20:54:33 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:5670 Date: 2001-03-13T04:54:33+00:00 List-Id: 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; > >