comp.lang.ada
 help / color / mirror / Atom feed
From: Phil Thornley <phil.jpthornley@gmail.com>
Subject: Re: installing SPARK GPL on Windows
Date: Sat, 7 Aug 2010 12:37:37 -0700 (PDT)
Date: 2010-08-07T12:37:37-07:00	[thread overview]
Message-ID: <651cc933-09eb-40b4-b5f6-b04a95d58c3e@h28g2000yqd.googlegroups.com> (raw)
In-Reply-To: 1d6d0e90-c9cd-4b62-a542-467a19e69095@y11g2000yqm.googlegroups.com

On 7 Aug, 18:43, Ada novice <po...@gmx.us> wrote:
> Hi, I've been trying to install SPARK GPL on a Windows machine. I
> already have GNAT GPL (and GPS). I found a brief introduction to SPARK
> here:
>
> http://www.adacore.com/2009/06/29/gem-68/
>
> For the installation, I added  C:\SPARK\2010\bin to the Windows path
> environment and overwrote the existing  spark.py in the GNAT folder by
> this operation mentioned in the SAPRK manual:
>
> Copy the file spark.py from <spark_install_dir>/share/gps/plug-ins to
> <gnatpro_install_dir>/share/gps/plug-ins.
>
> If I understand correctly, this is all I need to do for the
> installation. However in GPS I don't get a SPARK menu header. I
> checked Tools > Plugins and Spark is checked though. What do I need to
> do more for the installation to succeed? Does SPARK GPL work with GNAT
> GPL?

It all worked out-of-the box for me (Windows 7 Pro).

Are you sure that you have the path set correctly (and have you
restarted after changing the path - that sometimes helps).

The SPARK GPS manual says that the plug-in is only installed if GPS
finds the SPARK tools in the path.  You can check this by opening up a
command window and typing "spark -version".  This just responds with
the current version of SPARK and doesn't try to analyse any files.

>
> On a related note, if I understand correctly then SPARK GPL only
> features a subset of the Ada language. Does this implies that not
> every program in Ada will work with SPARK?

Ahhh, you definitely need to read a bit more about SPARK.  Start with
the SPARK_LRM in SPARK\2010\docs which has all the background and
rationale for the language.

Cheers,

Phil



  reply	other threads:[~2010-08-07 19:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 17:43 installing SPARK GPL on Windows Ada novice
2010-08-07 19:37 ` Phil Thornley [this message]
2010-08-07 21:00   ` Ada novice
2010-08-08 11:12   ` Rod Chapman
2010-08-08 11:44     ` Ada novice
2010-08-08 11:48       ` Ada novice
2010-08-07 20:30 ` Yannick Duchêne (Hibou57)
2010-08-07 21:04   ` Ada novice
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox