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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e5373b7ba73e9421 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!h28g2000yqd.googlegroups.com!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: installing SPARK GPL on Windows Date: Sat, 7 Aug 2010 12:37:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <651cc933-09eb-40b4-b5f6-b04a95d58c3e@h28g2000yqd.googlegroups.com> References: <1d6d0e90-c9cd-4b62-a542-467a19e69095@y11g2000yqm.googlegroups.com> NNTP-Posting-Host: 80.177.171.182 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1281209858 7848 127.0.0.1 (7 Aug 2010 19:37:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 7 Aug 2010 19:37:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h28g2000yqd.googlegroups.com; posting-host=80.177.171.182; posting-account=Fz1-yAoAAACc1SDCr-Py2qBj8xQ-qC2q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12937 Date: 2010-08-07T12:37:37-07:00 List-Id: On 7 Aug, 18:43, Ada novice 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 =A0C:\SPARK\2010\bin to the Windows path > environment and overwrote the existing =A0spark.py in the GNAT folder by > this operation mentioned in the SAPRK manual: > > Copy the file spark.py from /share/gps/plug-ins to > /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