From: James Alan Farrell <no_spam@no_spam.com>
Subject: Problem with GPS on Windows
Date: Wed, 04 May 2005 21:29:44 GMT
Date: 2005-05-04T21:29:44+00:00 [thread overview]
Message-ID: <9jei71tv6pfjbtd5knn7s4nrmcfa138dkj@4ax.com> (raw)
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
next reply other threads:[~2005-05-04 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-04 21:29 James Alan Farrell [this message]
2005-05-05 5:27 ` Problem with GPS on Windows Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox