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,FREEMAIL_FROM autolearn=ham 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!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!colt.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GnatBench (from GPL edition) Date: Wed, 26 Mar 2008 21:07:29 +0000 Organization: Pushface Message-ID: References: <0c45u3pfughmu7ir3qppv068vpilh22e01@4ax.com> <83f3c6f9-603d-45ea-9653-bd4790f84871@e60g2000hsh.googlegroups.com> <3mqiu3pdt12sirmn5dko6mjo1snr3infrh@4ax.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1206565650 13653 62.49.19.209 (26 Mar 2008 21:07:30 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 26 Mar 2008 21:07:30 +0000 (UTC) Cancel-Lock: sha1:plOhK8jYyb0ilrWHojbnJnzNAU0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) X-Original-Bytes: 2284 Xref: g2news1.google.com comp.lang.ada:20591 Date: 2008-03-26T21:07:29+00:00 List-Id: John McCabe writes: > I'll check that tomorrow when I'm back at work but, as I said > earlier, the command that fails is: > > make GPRPATH="C:\EclipseWorkspace\AdaStartProj\AdaStartProj.gpr" build > > The path to the GPR file is entirely correct, the problem is that > the Makefile is also in that folder but, without running make from > that folder, it's not going to build and, for some reason, my > installation of Eclipse/CDT/Gnatbench doesn't seem to enter the > right folder before executing make! > > That exact command, when run manually from my command line, works > perfectly. I noticed in one of the .xxx files that it identifies > information on the GNAT builder. There is an XML field for options > to send to the builder, I don't suppose there could be something in > there that would help? If you were executing this by hand from somw other directory, you could give make the -C option (change to named directory before running): make \ -C "C:\EclipseWorkspace\AdaStartProj" \ GPRPATH="C:\EclipseWorkspace\AdaStartProj\AdaStartProj.gpr" \ build Don't know if that will help ...