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 16:52:10 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!news-east.rr.com!news.rr.com!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.91.0.34!typhoon.ne.mediaone.net.POSTED!not-for-mail From: "Jeff Creem" 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.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <2aer6.1083$jF3.282223@typhoon.ne.mediaone.net> Date: Tue, 13 Mar 2001 00:51:10 GMT NNTP-Posting-Host: 24.147.67.93 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 984444670 24.147.67.93 (Mon, 12 Mar 2001 19:51:10 EST) NNTP-Posting-Date: Mon, 12 Mar 2001 19:51:10 EST Organization: Road Runner Xref: supernews.google.com comp.lang.ada:5667 Date: 2001-03-13T00:51:10+00:00 List-Id: Hmm...What target and OS? Sounds like a broken install... Also the correct way to build is gnatmake hello no .adb no -c "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; > >