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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,68e8160592b513c9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.15.41 with SMTP id u9mr10395567pbc.3.1322861801173; Fri, 02 Dec 2011 13:36:41 -0800 (PST) Path: lh20ni60836pbb.0!nntp.google.com!news2.google.com!goblin3!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Setting jGRASP workspace PATHS Date: Fri, 02 Dec 2011 21:36:38 +0000 Organization: A noiseless patient Spider Message-ID: References: <8e01cda2-e0d4-4cfe-9545-b41bb946d551@da3g2000vbb.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="25272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182DuJq/ti4nz7Y4ogJ/MwcQnFVE4pb6II=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:+7zm3l+Fvc8Fk4XD73BmtZMkxqo= sha1:SS2vfXe/a63G8nuzmL1ie+Wjdfo= Xref: news2.google.com comp.lang.ada:14812 Content-Type: text/plain; charset=us-ascii Date: 2011-12-02T21:36:38+00:00 List-Id: john 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).