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,1670595127bef5a7,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!cyclone.swbell.net!newscon02.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!5a33a34b!not-for-mail From: James Alan Farrell Newsgroups: comp.lang.ada Subject: Problem with GPS on Windows Message-ID: <9jei71tv6pfjbtd5knn7s4nrmcfa138dkj@4ax.com> X-Newsreader: Forte Free Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 4.156.153.111 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr17.news.prodigy.com 1115242184 ST000 4.156.153.111 (Wed, 04 May 2005 17:29:44 EDT) NNTP-Posting-Date: Wed, 04 May 2005 17:29:44 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: Q[R_PJSCTS@GRILYBJKXOFTBGR_N@ATM[@GZ_GYO^JWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Wed, 04 May 2005 21:29:44 GMT Xref: g2news1.google.com comp.lang.ada:10921 Date: 2005-05-04T21:29:44+00:00 List-Id: Hi all, I hope a question on GPS is not too far off base here... I've downloaded gnat 3.15p, GtkAda and GPS 2.1.0 (20041129) for work at home. I'm running Windows XP. I seem to be having two problems: 1. GPS cannot find the compiler: When I attempt to build my project I get gnatmake -PD:\programming\ada\hellow.gpr -d [2005-05-04 17:08:08] Invalid command I have the compiler installed at C:\gnat\bin (which was the default.) It is in my path in the environment variables, and when I run gnatmake in cmd it is found. I have edited the project properties to make the compiler c:\gnat\bin\gnatmake, and I get the error described below. I hack the project file to make that error go away, and I get c:\gnat\bin\gnatmake -PD:\programming\ada\hellow.gpr -d gcc -c -g -o d:\programming\ada\hello.o -g -gnatA \ d:\programming\ada\.\hello.adb gnatmake: error, unable to locate gcc It seems clear that GPS cannot is not reading the path. So where does it look for the compiler, and how do I set it on the correct path? (pun intended ;) 2. Something seems incorrect with the project file: When fixup the compiler command above to find gnatmake I get the error: undefined attribute "Executable" This line is highlighted in the project file: for Executable ("hello.adb") use ""; When I remove this line and build from cmd, the program builds fine. So why is this line being put in, and how can I stop it? I created the project using the GPS project wizard. Thanx, James Alan Farrell