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-Thread: 103376,ab26e93e5cda5b8a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!aioe.org!not-for-mail From: John McCabe Newsgroups: comp.lang.ada Subject: Re: GnatBench (from GPL edition) Date: Thu, 20 Mar 2008 16:46:47 +0000 Organization: Aioe.org NNTP Server Message-ID: References: <0c45u3pfughmu7ir3qppv068vpilh22e01@4ax.com> NNTP-Posting-Host: 8xFrDPbGvE3CA8T+awNlRA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Newsreader: Forte Free Agent 2.0/32.652 Xref: g2news1.google.com comp.lang.ada:20508 Date: 2008-03-20T16:46:47+00:00 List-Id: On Thu, 20 Mar 2008 16:35:04 +0000, John McCabe wrote: >I've just installed the GPL version of GNAT, with Gnatbench 2.0.1 into >Eclipse. I created a new Ada project, a "Hello World" one, and set the >toolchain to gnatmake. When I try to build it I get: > >"Could not execute command 'make >GPRPATH="C:\EclipseWorkspace\AdaStartProj\AdaStartProj.gpr" build" > >Does anyone know why that is? > >Why is it not trying to run gnatmake directly? Ok - I've discovered this myself; because it creates a Makefile that gnatmake is run from! What I've discovered is that, if I go in to the folder where my project is stored and then run the make command, it works. This suggests to me that the gnatbench builder in my case isn't running in the working folder. Is there something I need to do to sort that out? I can't see any way to configure the gnatbench builder? Thanks for any help John >Does it make a difference that I'm using Eclipse Europa (3.3.1.1) and >CDT 4.0.2? > >Thanks >John