comp.lang.ada
 help / color / mirror / Atom feed
From: Kevin.Marciniak@gmail.com
Subject: Re: using jGRASP to compile Ada
Date: Fri, 30 Nov 2007 11:03:14 -0800 (PST)
Date: 2007-11-30T11:03:14-08:00	[thread overview]
Message-ID: <c4c2f11f-77c1-4614-a3b2-e81d403760a6@e23g2000prf.googlegroups.com> (raw)
In-Reply-To: 78baee20-c0aa-4ae4-b56d-42b358a722df@s12g2000prg.googlegroups.com

On Nov 30, 11:33 am, "jimmaureenrog...@worldnet.att.net"
<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.



  reply	other threads:[~2007-11-30 19:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 16:29 using jGRASP to compile Ada Kevin.Marciniak
2007-11-30 17:33 ` jimmaureenrogers
2007-11-30 19:03   ` Kevin.Marciniak [this message]
2007-11-30 19:11     ` Pascal Obry
2007-11-30 19:13     ` Kevin.Marciniak
2007-11-30 20:02     ` Anh Vo
2007-12-01 15:09   ` Larry A Barowski
2007-11-30 17:52 ` Anh Vo
2007-12-01 15:14 ` Larry A Barowski
2007-12-01 16:13   ` Kevin.Marciniak
2007-12-02  1:39     ` Larry A Barowski
2007-12-02  4:43       ` Kevin.Marciniak
2007-12-02  5:06         ` Kevin.Marciniak
replies disabled

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