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,959d44d0a56995bc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!t47g2000hsc.googlegroups.com!not-for-mail From: Kevin.Marciniak@gmail.com Newsgroups: comp.lang.ada Subject: Re: using jGRASP to compile Ada Date: Sat, 1 Dec 2007 21:06:46 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <65cf3d5f-bd31-4b09-a963-810d9510bb65@y43g2000hsy.googlegroups.com> <6c9b2f1c-bd78-4032-953e-2d89427d814e@v4g2000hsf.googlegroups.com> <_8OdnWek3_1tkc_anZ2dnUVZ_jidnZ2d@comcast.com> <46baa221-72e1-488b-aaa5-c8ac17ddac10@y5g2000hsf.googlegroups.com> NNTP-Posting-Host: 71.239.245.239 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1196572006 20945 127.0.0.1 (2 Dec 2007 05:06:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 2 Dec 2007 05:06:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t47g2000hsc.googlegroups.com; posting-host=71.239.245.239; posting-account=z-J6MgoAAAC4VaoBeY8qA6ASvZ39PNmG User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.24 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Content-Disposition: inline Xref: g2news1.google.com comp.lang.ada:18693 Date: 2007-12-01T21:06:46-08:00 List-Id: On Dec 1, 10:43 pm, Kevin.Marcin...@gmail.com wrote: > On Dec 1, 7:39 pm, "Larry A Barowski" > > > > wrote: > > wrote in message > > >news:6c9b2f1c-bd78-4032-953e-2d89427d814e@v4g2000hsf.googlegroups.com... > > > > On Dec 1, 9:14 am, "Larry A Barowski" > > > wrote: > > >> What happens if you do > > >> gnatmake -g hello_world.adb > > >> from the command line? Usually, if it works from the command > > >> line it should work from jGRASP. > > > > I get the same error. I went to the directory that the source file is > > > in and tried to compile from the command line, but the same error > > > happens. Is there a step that I'm not doing? I unzipped the binaries > > > from sourceforge, then I included the folder that I unzipped to in the > > > Windows system path. Then I wrote the simple hello_world.adb. Then I > > > tried to compile from the command line with gnatmake -g > > > hello_world.adb and I still get the same error. Are you using the > > > binaries from sourceforge or from some place else? > > > I haven't tried it for a long time. The download site doesn't seem to > > be responding, but I'll try later. Exactly what package did you > > download? The sourceforge site seems to just point to the > > AdaCore site for the GNAT/GPL for Windows download. > > > A google search for the error message doesn't turn up any GNAT > > references except for this thread, so I doubt that it's a common > > problem. Did you add the GNAT directory to the front of the > > PATH? Maybe if you added it to the back, GNAT is calling some > > other (wrong) gcc. > > Of all the things I didn't do was a reboot!!!!!! After the reboot it > compiled, binded, linked, and ran hello_world just fine. Blast > Windows. No where in ANY installation instructions did it say to > reboot after installing MinGW, GNU Ada, or jGRASP!!!! I can't believe > that's all I had to do. What was I thinking? Of course on a > Microsoft Windows machine it needs a reboot! Thanks everyone for the > help though. Here is the steps needed to get it to work. 1) Install MinGW 2) In the Windows system path, add the directory to where the MinGW binaries were installed 3) Unzip the GNU Ada GPL to where the MinGW directory is 4) REBOOT!!!! 5) Install jGRASP (does NOT need another reboot) 6) Code