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!e23g2000prf.googlegroups.com!not-for-mail From: Kevin.Marciniak@gmail.com Newsgroups: comp.lang.ada Subject: Re: using jGRASP to compile Ada Date: Fri, 30 Nov 2007 11:13:11 -0800 (PST) Organization: http://groups.google.com Message-ID: <7df234cb-dd73-4d03-9c91-7b596557716c@e23g2000prf.googlegroups.com> References: <65cf3d5f-bd31-4b09-a963-810d9510bb65@y43g2000hsy.googlegroups.com> <78baee20-c0aa-4ae4-b56d-42b358a722df@s12g2000prg.googlegroups.com> NNTP-Posting-Host: 205.196.224.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1196449992 7231 127.0.0.1 (30 Nov 2007 19:13:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 30 Nov 2007 19:13:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e23g2000prf.googlegroups.com; posting-host=205.196.224.139; posting-account=z-J6MgoAAAC4VaoBeY8qA6ASvZ39PNmG User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.23 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Content-Disposition: inline Xref: g2news1.google.com comp.lang.ada:18681 Date: 2007-11-30T11:13:11-08:00 List-Id: On Nov 30, 1:03 pm, Kevin.Marcin...@gmail.com wrote: > On Nov 30, 11:33 am, "jimmaureenrog...@worldnet.att.net" > > > > wrote: > > On Nov 30, 9:29 am, Kevin.Marcin...@gmail.com wrote: > > > > I'm trying to use jGRASP to compile, but I get the following error: > > > > ----jGRASP exec: gnatmake -g hello_world.adb > > > > gcc -c -g hello_world.adb > > > gcc.exe: CreateProcess: No such file or directory > > > gnatmake: "hello_world.adb" compilation error > > > > ----jGRASP wedge2: exit code for process is 4. > > > ----jGRASP: operation complete. > > > > This is on a Windows XP Pro machine. And the Windows system path > > > includes the folder where gnatmake and gcc are, but I don't understand > > > why its giving me this error. I also put the Ada source file in the > > > same directory, but same result. > > > > Source: > > > > with Text_IO; > > > procedure Hello_World is > > > > begin > > > Text_IO.Put_Line("Hello World!"); > > > end Hello_World; > > > > I also checked the Settings->Compiler Settings->Workspace for Ada and > > > its using the compiler that I have in the system path. Any help would > > > be great. Thanks. > > > You need to make sure the Path environment variable listed in the > > System Compiler Environment window includes the path to your compiler. > > JGrasp does not use the operating system Path variable. > > > Jim Rogers > > I did that for both the PATH/CLASSPATH and Compiler sections, but it > still gives me the same error. It points to C:\GNAT\bin. Which is > where I unzipped the gnat binaries to. I got the gnat binaries from: > "http://sourceforge.net/project/platformdownload.php?group_id=12974" > I went via Settings->Compiler Settings->Workspace on the menu. Is > there another spot? > > @Anh Vo: I would use GPS except AdaCore no longer makes it available > from their libre site. And being that I'm using jGRASP for personal > learning, it wouldn't make sense for me to buy my own copy of GPS. I'm using jGRASP version 1.8.6_05.