Reputation: 21
I'm trying to install GNAT Compiler for Ada programing, but when I launch it I get the following error: "Cannot create config directory C:/users/@#$%@#%#@/.gps/ Exiting...".
Somebody knows the solution? I try all kind of things, nothing helped.
Thanks
Upvotes: 1
Views: 927
Reputation: 730
I am not an Ada wiz but I remember that I tried to install Gnat GPS with Cygwin as well and had all sorts of problems. One of the biggest was the 64/32 bit incompatibility since Gnat on Windows is only available in the 32 bit version and Cygwin is probably in the 64 bit version on your machine
In the end my solution was to remove Cygwin completely and install Mingw32, which is the system Ada uses.
Upvotes: 1
Reputation: 25491
I have Cygwin installed on Windows XP, with GPS from GNAT GPL 2012.
If I have %HOME%
set to C:\cygwin\users\%USERNAME%
and start GPS for the first time, GPS says that it created the configuration directory C:\cygwin\users\simon\.gps
. If I don't set %HOME%
, GPS creates the configuration directory C:\Documents and Settings\Simon
, which appears to be %HOMEPATH%
. Note that GPS isn't aware of Cygwin, it's a Windows application and uses your Windows environment variables.
I wonder whether you have %HOME%
(or perhaps %HOMEPATH%
?) set to a nonexistent directory? GPS doesn't seem to be able to create intermediate directories.
Upvotes: 2