Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: GnatBench (...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 36 of 36 Topic 5613 of 5697
Post > Topic >>

Re: GnatBench (from GPL edition)

by John McCabe <john@[EMAIL PROTECTED] > Apr 29, 2008 at 10:34 AM

On Thu, 20 Mar 2008 16:35:04 +0000, John McCabe
<john@[EMAIL PROTECTED]
> 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:

@[EMAIL PROTECTED]
 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




 36 Posts in Topic:
GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-20 16:35:04 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-20 16:46:47 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-20 15:08:16 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-25 18:06:25 
Re: GnatBench (from GPL edition)
Eric Hughes <eric.eh9@  2008-03-31 21:19:54 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-25 13:32:17 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-25 21:17:34 
Re: GnatBench (from GPL edition)
Simon Wright <simon.j.  2008-03-26 21:07:29 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 22:05:53 
Re: GnatBench (from GPL edition)
Stephen Leake <Stephe.  2008-03-27 05:07:30 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-27 10:08:47 
Re: GnatBench (from GPL edition)
Stephen Leake <Stephe.  2008-03-28 20:28:20 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-29 23:10:21 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 10:19:41 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-26 07:35:48 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 18:14:03 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-26 07:40:32 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-28 19:48:30 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-29 23:32:50 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-03-30 10:24:47 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-31 15:23:24 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-03-31 18:12:55 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-31 17:43:02 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-03-31 19:09:55 
Re: GnatBench (from GPL edition)
Georg Bauhaus <rm.tsoh  2008-04-01 09:39:00 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-01 14:52:58 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-01 14:58:33 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-02 22:03:16 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-02 22:20:53 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-04-03 09:35:35 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-03 11:20:35 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-03 21:20:51 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-04 23:50:48 
Re: GnatBench (from GPL edition)
Steffen Huber <spam@[E  2008-04-03 12:14:42 
Re: GnatBench (from GPL edition)
Pascal Obry <pascal@[E  2008-04-01 19:06:14 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-29 10:34:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 21:51:34 CDT 2008.