[GAP] GPL and AdaGIDE for Vista

Riehle, Richard (CIV) rdriehle at nps.edu
Wed Sep 12 19:19:42 CEST 2007


I was having some trouble with this as well.

I was finally successful with installing GNAT in 

       C:\GNAT

instead of C:\GNAT\2007.

Also, I rebooted the system immediately after installing
GNAT instead of after installing the Win32 stuff.  Then,
after rebooting, I installed the Win32 stuff.  After that,
I installed AdaGide.   I can now compile and build programs
with AdaGide.

It seems the registry is fussy about making sure you have
rebooted first with GNAT by itself.    If you don't reboot,
and have GNAT installed in C:\GNAT, the AdaGide installation
gives error messages.

I'm not sure this will fix things for everyone, but it finally
did the trick for me -- on at least one system.

This seems to  be as much an Operating System problem as it
is an AdaGide or GNAT problem.  

Richard Riehle

==========================================================

-----Original Message-----
From: gap-bounces at gnat.info [mailto:gap-bounces at gnat.info] On Behalf Of
John McCormick
Sent: Wednesday, September 12, 2007 9:43 AM
To: GNAT Academic Program discussion list; GNAT Academic Program
discussion list
Subject: Re: [GAP] GPL and AdaGIDE for Vista

My student finally stopped in with his laptop.  I was not successful 
in getting gnatmake to work.  We 
added  C:\GNAT\2007\libexec\gcc\pentium-mingw32msv\4.1.3 to the 
path.  There was no 3.* directory.  I didn't think of trying the 3* 
directory anyway.

The error we get when we try gnatmake is

gcc.exe: _spawnvp: Invalid argument

Any other ideas of what we could try?

John

At 09:08 AM 8/30/2007 +0200, Arnaud Charlet wrote:
> > Last I checked, the GNAT installer allowed you to check a box 
> which makes its tools available from the command line.  This is all 
> you need.  If you can open a command prompt and do "gnatmake main", 
> then AdaGIDE should work.
>
>Things are actually more subtle: GNAT GPL 2006 was not tested against
>Vista, so there are a few glitches that will be fixed in the next
>GPL release.
>
>The work around is to put the libexec\gcc\pentium-mingw32msv\3.*
directory
>in your PATH manually. The work around the student found is similar in
>effect.
>
>Arno
>_______________________________________________
>GAP mailing list
>GAP at gnat.info
>/no-more-mailman.html
>To unsubscribe from this list, please contact the GAP GNAT Tracker 
>administrator
>within your organization.


John W. McCormick                mccormick at cs.uni.edu
Computer Science Department
University of Northern Iowa        voice (319) 273-6056
Cedar Falls, IA 50614-0507       fax (319) 273-7123
http://www.cs.uni.edu/~mccormic/


_______________________________________________
GAP mailing list
GAP at gnat.info
/no-more-mailman.html
To unsubscribe from this list, please contact the GAP GNAT Tracker
administrator
within your organization.


More information about the GAP mailing list