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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no 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 07:35:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: GNAT compiling problems on ME Date: Tue, 7 Aug 2001 10:23:45 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9kotlk$drs$1@nh.pace.co.uk> References: <3b6f96b7.4292612@news.iprimus.com.au> <3B6F9E63.8963FFA7@Physik.Uni-Magdeburg.DE> <3b6fd81b.651472@news.iprimus.com.au> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 997194228 14204 136.170.200.133 (7 Aug 2001 14:23:48 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 7 Aug 2001 14:23:48 GMT 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 Xref: archiver1.google.com comp.lang.ada:11501 Date: 2001-08-07T14:23:48+00:00 List-Id: You might try running your source file through gnatchop to make sure that the file name(s) match what gnat expects. Do: "gnatchop -w somefile" (hint: this may want to overwrite things you already have, so backup first!) That should insure you have a properly named file & then try recompiling it. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "?" wrote in message news:3b6fd81b.651472@news.iprimus.com.au... > On Tue, 07 Aug 2001 09:53:07 +0200, Gerald Kasner > wrote: > > >? 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 for replying, my mistake, I should meant the .adb file not > .ada, so I have no idea what's going on.. > > >