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,9b117a88e7a6a395 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-07 00:53:12 PST Message-ID: <3B6F9E63.8963FFA7@Physik.Uni-Magdeburg.DE> Date: Tue, 07 Aug 2001 09:53:07 +0200 From: Gerald Kasner Organization: Uni Magdeburg X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT compiling problems on ME References: <3b6f96b7.4292612@news.iprimus.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: kasner.nat.uni-magdeburg.de X-Trace: 7 Aug 2001 09:53:08 +0100, kasner.nat.uni-magdeburg.de Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!loriot.cs.uni-magdeburg.de!kasner.nat.uni-magdeburg.de Xref: archiver1.google.com comp.lang.ada:11462 Date: 2001-08-07T09:53:07+02:00 List-Id: ? schrieb: > > Sorry everyone if this is not related to this newsgroup, but I'm > having trouble compiling ADA program using Gnat, other compiler is > fine. The problem is that it keeps saying file /c******.s not found, > I think the problem is when gnat1.exe is call to compile the .ada > file, it doesn't read in the proper filename, does anyone have any > specific idea about this?? > Gnat requires the filename extension to be ".adb" for bodys and ".ads" for specs. maybe this solves the problem In addition, only one body per file is allowed (but nested bodies in one file also). You can split a multi-body file using gnatchop. -g > Thanks, I need Gnat to do my assignment at uni that's why I have to > use it.