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: a07f3367d7,3bff6309ef5ab3f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: How to fix 'Could not locate executable on path: gnatmake' References: Date: Sat, 08 May 2010 01:43:55 -0400 Message-ID: <82ljbvkkx0.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:JTGt9Z1CP9/oIPkcvbEG6iLR7z4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 39afc4be4fa70e197caa721397 Xref: g2news2.google.com comp.lang.ada:11412 Date: 2010-05-08T01:43:55-04:00 List-Id: "Dmitry A. Kazakov" writes: > On Fri, 7 May 2010 01:33:49 -0700 (PDT), resander wrote: > >> but from GPS 'Could not locate executable on path: gnatmake' appears >> when I request compile file from adaptestproj directory. >> >> I cannot see what is wrong. Would be grateful for advice. > > When PATH is correct, check if the project file *.gpr specifies gnat tools. > E.g. stuff like > > for Gnatlist use "i586-wrs-vxworks-gnatls"; > for Gnat use "i586-wrs-vxworks-gnat"; > for Compiler_Command ("ada") use "i586-wrs-vxworks-gnatmake"; > for Debugger_Command use "i586-wrs-vxworks6-gdb"; > > (which would not work under Linux) > > BTW, never edit project files using GPS GUI. Use gedit, vi, ... sed (:-)) Or just GPS file editor; just avoid the GPS project wizard. -- -- Stephe