comp.lang.ada
 help / color / mirror / Atom feed
From: "jimmaureenrogers@worldnet.att.net" <jimmaureenrogers@worldnet.att.net>
Subject: Re: using jGRASP to compile Ada
Date: Fri, 30 Nov 2007 09:33:44 -0800 (PST)
Date: 2007-11-30T09:33:44-08:00	[thread overview]
Message-ID: <78baee20-c0aa-4ae4-b56d-42b358a722df@s12g2000prg.googlegroups.com> (raw)
In-Reply-To: 65cf3d5f-bd31-4b09-a963-810d9510bb65@y43g2000hsy.googlegroups.com

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



  reply	other threads:[~2007-11-30 17:33 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 [this message]
2007-11-30 19:03   ` Kevin.Marciniak
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