comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <john@nospam.assen.demon.co.uk>
Subject: Re: GnatBench (from GPL edition)
Date: Tue, 29 Apr 2008 10:34:18 +0100
Date: 2008-04-29T10:34:18+01:00	[thread overview]
Message-ID: <jeqd14dbnojnpavfm73u79pi4ms6sder86@4ax.com> (raw)
In-Reply-To: 0c45u3pfughmu7ir3qppv068vpilh22e01@4ax.com

On Thu, 20 Mar 2008 16:35:04 +0000, John McCabe
<john@nospam.assen.demon.co.uk> 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?
>
>Does it make a difference that I'm using Eclipse Europa (3.3.1.1) and
>CDT 4.0.2?

Dear all,

Thought you might want to know where I've got to on this. With a few
pointers from a colleague I've managed to get this to work.

My colleague has just started playing with Ada and found that, on his
system, the make command didn't work because he didn't have make on
the system. By taking the gnumake-3.79.1-nt.exe that comes with GNAT
and renaming it to make.exe in the GNAT\2007\bin folder he got it to
work.

Now, if you've been following this thread, you'll know that I was able
to get make to work if I went in to the folder where the files were
and ran it. Outside that folder it didn't work. It appears that the
fact that GNATBench didn't get it to work, and I didn't get it to work
outside the source folder masked the real problem!

As it turns out, my "make" command was actuall a "make.bat" file
containing:

@echo off
mingw32-make %*

and mingw32-make is on the path. The problem though appears to be
related to the lack of a "make.exe" on the path. By copying
mingw32-make.exe to make.exe in my C:\MinGW\bin folder, Eclipse will
happily build the Ada project.

So - result - but it's a bit of a nuisance that the GNATBench builder
(or is it Eclipse itself?) needs to actually have make.exe to work!

Thank to all of you for your suggestion, and to Alan for his pointers.

John



      parent reply	other threads:[~2008-04-29  9:34 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 16:35 GnatBench (from GPL edition) John McCabe
2008-03-20 16:46 ` John McCabe
2008-03-20 22:08   ` Britt Snodgrass
2008-03-25 18:06     ` John McCabe
2008-03-25 20:32       ` Britt Snodgrass
2008-03-25 21:17         ` John McCabe
2008-03-26 21:07           ` Simon Wright
2008-03-26 22:05             ` John McCabe
2008-03-27  9:07               ` Stephen Leake
2008-03-27 10:08                 ` John McCabe
2008-03-29  0:28                   ` Stephen Leake
2008-03-29  2:48                     ` Britt Snodgrass
2008-03-29 23:32                       ` John McCabe
2008-03-30  8:24                         ` Dmitry A. Kazakov
2008-03-31 14:23                           ` John McCabe
2008-03-31 16:12                             ` Dmitry A. Kazakov
2008-03-31 16:43                               ` John McCabe
2008-04-01  0:09                         ` Randy Brukardt
2008-04-01  4:19                           ` Eric Hughes
2008-04-01  7:39                           ` Georg Bauhaus
2008-04-01 19:52                             ` Randy Brukardt
2008-04-01 19:58                             ` Randy Brukardt
2008-04-02 21:03                           ` John McCabe
2008-04-03  3:20                             ` Randy Brukardt
2008-04-03  7:35                               ` Dmitry A. Kazakov
2008-04-03 10:20                               ` John McCabe
2008-04-04  2:20                                 ` Randy Brukardt
2008-04-04 22:50                                   ` John McCabe
2008-04-03 10:14                           ` Steffen Huber
2008-04-01 17:06                         ` Pascal Obry
2008-03-29 23:10                     ` John McCabe
2008-03-26 10:19         ` John McCabe
2008-03-26 14:35           ` Britt Snodgrass
2008-03-26 14:40             ` Britt Snodgrass
2008-03-26 18:14             ` John McCabe
2008-04-29  9:34 ` John McCabe [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox