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,7a2e3263a106b32d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Getting GNAT to work on a Mac Date: Thu, 02 Jun 2011 06:54:34 +0100 Organization: A noiseless patient Spider Message-ID: References: <4141fc31-03ca-4cde-8c84-0b8b147e5d04@m10g2000yqd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="18927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195ayPrP/1L59NkFwmkvXtsoTYvFn/VagQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:cWt0jxx5J/2+Wvhxz8LpVxoVM0g= sha1:OSFAP3/JYkPtWoNmvOuCTcsTLYg= Xref: g2news2.google.com comp.lang.ada:20580 Date: 2011-06-02T06:54:34+01:00 List-Id: TI Launchpad writes: > I'm running Mac OSX 10.6. I've downloaded GNAT from www.libre.com, but > that simply produced a folder whose 'bin' subfolder contains a lot of > programs - when I typed "gnat make "hello.adb" in Terminal, it said > that gnat was not recognized as a command. So, I re-installed gcc, and > now I have gcc version 4.2.1. But when I type in "gcc "hello.adb", I > get an error: Ada compiler is not intstalled on this system. I've > fiddled around a little it; now when I type in "gnat" in Terminal, it > lists a bunch of gnat commands I can use, but I still can't get Ada > files to compile. I have successfully added Ada to my PATH (I think), > by using the command, "export PATH=/usr/local/ada-4.2/bin:$PATH" in > Terminal. Now, when I type in "env" in Terminal, it shows that Ada 4.2 > is on my PATH - but GNAT and gcc still don't work! What should I do? > Thanks in advance for your help! I don't understand what you mean by 're-installed gcc'? The standard GCC on Mac OS X comes in Xcode, I'm pretty sure. After the download, you did do the 'doinstall' step? You say "GNAT and gcc still don't work", can you show us an example with the error messages?