* using jGRASP to compile Ada @ 2007-11-30 16:29 Kevin.Marciniak 2007-11-30 17:33 ` jimmaureenrogers ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Kevin.Marciniak @ 2007-11-30 16:29 UTC (permalink / raw) 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. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 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 2007-12-01 15:09 ` Larry A Barowski 2007-11-30 17:52 ` Anh Vo 2007-12-01 15:14 ` Larry A Barowski 2 siblings, 2 replies; 13+ messages in thread From: jimmaureenrogers @ 2007-11-30 17:33 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-11-30 17:33 ` jimmaureenrogers @ 2007-11-30 19:03 ` Kevin.Marciniak 2007-11-30 19:11 ` Pascal Obry ` (2 more replies) 2007-12-01 15:09 ` Larry A Barowski 1 sibling, 3 replies; 13+ messages in thread From: Kevin.Marciniak @ 2007-11-30 19:03 UTC (permalink / raw) 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. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 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 2 siblings, 0 replies; 13+ messages in thread From: Pascal Obry @ 2007-11-30 19:11 UTC (permalink / raw) To: Kevin.Marciniak Kevin.Marciniak@gmail.com a �crit : > @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. It is part of GNAT GPL 2007. So download the whole package and you have it. So the question now is which compiler are you using ? Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 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 2 siblings, 0 replies; 13+ messages in thread From: Kevin.Marciniak @ 2007-11-30 19:13 UTC (permalink / raw) On Nov 30, 1:03 pm, Kevin.Marcin...@gmail.com wrote: > 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. I'm using jGRASP version 1.8.6_05. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 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 2 siblings, 0 replies; 13+ messages in thread From: Anh Vo @ 2007-11-30 20:02 UTC (permalink / raw) On Nov 30, 11:03 am, Kevin.Marcin...@gmail.com wrote: > > @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.- Hide quoted text - The https://libre2.adacore.com/ is down today due to the move. See message below from Arno ---------------------------------------------------------------- > The last snapshot was built on 28 October 2007. Hopefully, the script > can be fixed and the snapshot will be built daily again. The snapshots have been disabled temporarily for technical reasons. It should come back in a week or so. Note also that the libre site will be shutdown on friday due to office moves, for a few hours or a few days, depending how the move goes :-) Arno --------------------------------------------------------------- Therefore, GNAT is still available and free. You should check back later today. The worst case is several days as Arno mentioned. AV ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-11-30 17:33 ` jimmaureenrogers 2007-11-30 19:03 ` Kevin.Marciniak @ 2007-12-01 15:09 ` Larry A Barowski 1 sibling, 0 replies; 13+ messages in thread From: Larry A Barowski @ 2007-12-01 15:09 UTC (permalink / raw) <jimmaureenrogers@worldnet.att.net> wrote in message news:78baee20-c0aa-4ae4-b56d-42b358a722df@s12g2000prg.googlegroups.com... > 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. It does use the system PATH. The paths in the settings are in addition to the system path (and take precedence over it). ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-11-30 16:29 using jGRASP to compile Ada Kevin.Marciniak 2007-11-30 17:33 ` jimmaureenrogers @ 2007-11-30 17:52 ` Anh Vo 2007-12-01 15:14 ` Larry A Barowski 2 siblings, 0 replies; 13+ messages in thread From: Anh Vo @ 2007-11-30 17:52 UTC (permalink / raw) On Nov 30, 8:29 am, Kevin.Marcin...@gmail.com wrote: > I'm trying to use jGRASP to compile, but I get the following error: Is there any important reason why to use jGRASP? If not I would recommend to use GPS. It is a modern IDE, simple enough for a quick test and yet sophisticated enough to handle a very large and complex project. By the way, wherever there is a GNAT (evidence of gnatmake), a GPS should be available. AV ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-11-30 16:29 using jGRASP to compile Ada Kevin.Marciniak 2007-11-30 17:33 ` jimmaureenrogers 2007-11-30 17:52 ` Anh Vo @ 2007-12-01 15:14 ` Larry A Barowski 2007-12-01 16:13 ` Kevin.Marciniak 2 siblings, 1 reply; 13+ messages in thread From: Larry A Barowski @ 2007-12-01 15:14 UTC (permalink / raw) <Kevin.Marciniak@gmail.com> wrote in message news:65cf3d5f-bd31-4b09-a963-810d9510bb65@y43g2000hsy.googlegroups.com... > 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 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. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-12-01 15:14 ` Larry A Barowski @ 2007-12-01 16:13 ` Kevin.Marciniak 2007-12-02 1:39 ` Larry A Barowski 0 siblings, 1 reply; 13+ messages in thread From: Kevin.Marciniak @ 2007-12-01 16:13 UTC (permalink / raw) On Dec 1, 9:14 am, "Larry A Barowski" <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> wrote: > <Kevin.Marcin...@gmail.com> wrote in message > > news:65cf3d5f-bd31-4b09-a963-810d9510bb65@y43g2000hsy.googlegroups.com... > > > 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 > > 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? ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-12-01 16:13 ` Kevin.Marciniak @ 2007-12-02 1:39 ` Larry A Barowski 2007-12-02 4:43 ` Kevin.Marciniak 0 siblings, 1 reply; 13+ messages in thread From: Larry A Barowski @ 2007-12-02 1:39 UTC (permalink / raw) <Kevin.Marciniak@gmail.com> wrote in message news:6c9b2f1c-bd78-4032-953e-2d89427d814e@v4g2000hsf.googlegroups.com... > On Dec 1, 9:14 am, "Larry A Barowski" > <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> 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. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-12-02 1:39 ` Larry A Barowski @ 2007-12-02 4:43 ` Kevin.Marciniak 2007-12-02 5:06 ` Kevin.Marciniak 0 siblings, 1 reply; 13+ messages in thread From: Kevin.Marciniak @ 2007-12-02 4:43 UTC (permalink / raw) On Dec 1, 7:39 pm, "Larry A Barowski" <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> wrote: > <Kevin.Marcin...@gmail.com> wrote in message > > news:6c9b2f1c-bd78-4032-953e-2d89427d814e@v4g2000hsf.googlegroups.com... > > > On Dec 1, 9:14 am, "Larry A Barowski" > > <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> 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. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: using jGRASP to compile Ada 2007-12-02 4:43 ` Kevin.Marciniak @ 2007-12-02 5:06 ` Kevin.Marciniak 0 siblings, 0 replies; 13+ messages in thread From: Kevin.Marciniak @ 2007-12-02 5:06 UTC (permalink / raw) On Dec 1, 10:43 pm, Kevin.Marcin...@gmail.com wrote: > On Dec 1, 7:39 pm, "Larry A Barowski" > > > > <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> wrote: > > <Kevin.Marcin...@gmail.com> wrote in message > > >news:6c9b2f1c-bd78-4032-953e-2d89427d814e@v4g2000hsf.googlegroups.com... > > > > On Dec 1, 9:14 am, "Larry A Barowski" > > > <ThisisLarrybarAtEngDotAuburnDotLearninginstitution> 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 ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2007-12-02 5:06 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox