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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab26e93e5cda5b8a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z38g2000hsc.googlegroups.com!not-for-mail From: Britt Snodgrass Newsgroups: comp.lang.ada Subject: Re: GnatBench (from GPL edition) Date: Wed, 26 Mar 2008 07:35:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7423d35d-f220-4231-ab6d-2dc9933a0ec9@z38g2000hsc.googlegroups.com> References: <0c45u3pfughmu7ir3qppv068vpilh22e01@4ax.com> <83f3c6f9-603d-45ea-9653-bd4790f84871@e60g2000hsh.googlegroups.com> <4c8ku3lusgrhj4cg3fbltpe38fnns571ij@4ax.com> NNTP-Posting-Host: 205.175.225.24 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1206542149 11946 127.0.0.1 (26 Mar 2008 14:35:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Mar 2008 14:35:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z38g2000hsc.googlegroups.com; posting-host=205.175.225.24; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20581 Date: 2008-03-26T07:35:48-07:00 List-Id: On Mar 26, 5:19 am, John McCabe wrote: >> > What is a .gb_project file? I don't have one of those. > I think the lack of a .gb_project file may be cause of your problem. The GNATbench Ada project wizard is supposed to create a .gb_project file in addition to the .project and .cproject files. In your case it should look something like the following" xml version="1.0" encoding="UTF-8" standalone="no"? >trueAdaStartProj.gprMF all on one long line. The "gprPath" part in the middle can contain either an absolute path to your .project file or a relative path, relative to the location of the .project file (i.e. the location of the Eclipse project. My example above was created with GNATbench 2.1.0. My .project file doesn't contain any special arguments in the gnatbench builder section. I think those are always specified either in the Makefile itself or in the .gpr file. Here's the strange part. I spent about 20 minutes last night setting up Eclipse 3.3.2, CDT 3.1.2 and GNATbench 2.0.1 again. When I created a "Hello World" Ada project I encountered almost the same problem you're having - no .gb_project file - and also an error message about not being able to execute gnatls (even though gnatls can be found my Windows system path). I'm pretty sure this all worked last fall when I last used GNATbench 2.0.1 but its not working now. I suspect it is an installation problem but I may not have time to investigate it before next week. I'll let you know. - Britt