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.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b19c6a2c2c73b487 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-28 10:21:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: AdaGide (Gnat) Build error Date: Fri, 28 Feb 2003 12:20:36 -0600 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1046456495 11858 137.194.161.2 (28 Feb 2003 18:21:35 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 28 Feb 2003 18:21:35 +0000 (UTC) Cc: tchi_yuan@hotmail.com To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34735 Date: 2003-02-28T12:20:36-06:00 You apparently didn't pay close attention to the previous responses to your original message. The filename extension must be .adb _not_ .ada ----- Original Message ----- From: "Willy" Newsgroups: comp.lang.ada To: Sent: Friday, February 28, 2003 11:00 AM Subject: Re: AdaGide (Gnat) Build error > It still doesn't work. I changed the file name and the procedure name. > I'm still getting the same error when I build > > -- filename is : test1.ada > > -- source code : > > with Text_Io; > use Text_Io; > > procedure test1 is > > package Es_Entiers is new Integer_Io ( Integer ); > > Num1 : Integer := 1; > Num2 : Integer := 2; > Num3 : Integer; > begin > > Num3 := Num1 / Num2; > Put("Answer: "); > Es_Entiers.Put(Num3); > > end test1; > > > -- Error when I build : > > Building... > GNATMAKE 3.15p (20020523) Copyright 1995-2002 Free Software Foundation, > Inc. > End of compilation > gnatmake: "test1" not found > Done--error detected. > > -- Is there any setting I'm missing ? I'm new to AdaGide. > > > Thanks, > Willy- > > > > > > Peter Hermann wrote in message news:... > > Willy wrote: > > > The file name is test.ada > > 1. > > rename your file: test.adb > > 2. > > check for procedure name to be "test" (the same as the file name) > > > > now you have fulfilled the conventions of the useful gnat way of naming. > > > > > > longterm advice: > > never use a procedure with the name "test", > > better choose names other than test, e.g. test1 etc. > > because there are operating systems (some unix) > > with a special meaning of "test" > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >