comp.lang.ada
 help / color / mirror / Atom feed
* Setting jGRASP workspace PATHS
@ 2011-12-02 19:06 john
  2011-12-02 21:36 ` Simon Wright
  0 siblings, 1 reply; 2+ messages in thread
From: john @ 2011-12-02 19:06 UTC (permalink / raw)


I have installed the latest version of jGRASP and gnat-2011-x86_64-
apple-darwin10.2.0-b on my Mac running Lion. When I attempt to
compile, I get the following error message:

 ----jGRASP exec: gnatmake -g hello.adb
gcc -c -g hello.adb
gcc: error trying to exec 'as': execvp: No such file or directory
gnatmake: "hello.adb" compilation error

How do I select / set the correct PATH options in jGRASP so I can
compile Ada on my Mac?
I would like to do this without having to mess around with the lower-
level UNIX variables, if possible.

TIA
John Cupak



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting jGRASP workspace PATHS
  2011-12-02 19:06 Setting jGRASP workspace PATHS john
@ 2011-12-02 21:36 ` Simon Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Wright @ 2011-12-02 21:36 UTC (permalink / raw)


john <jcupak@gmail.com> writes:

> I have installed the latest version of jGRASP and gnat-2011-x86_64-
> apple-darwin10.2.0-b on my Mac running Lion. When I attempt to
> compile, I get the following error message:
>
>  ----jGRASP exec: gnatmake -g hello.adb
> gcc -c -g hello.adb
> gcc: error trying to exec 'as': execvp: No such file or directory
> gnatmake: "hello.adb" compilation error
>
> How do I select / set the correct PATH options in jGRASP so I can
> compile Ada on my Mac?
> I would like to do this without having to mess around with the lower-
> level UNIX variables, if possible.

You need to install Xcode. It's a free download in the App Store.

Be warned: when it says it's installed, what's actually been installed
in Applications is the installer! you need to run that in order to have
Xcode on your machine.

May be a good idea to keep the installer in case you need to reinstall
(saves 2GB download). 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-02 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-02 19:06 Setting jGRASP workspace PATHS john
2011-12-02 21:36 ` Simon Wright

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