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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7a2e3263a106b32d,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!m10g2000yqd.googlegroups.com!not-for-mail From: TI Launchpad Newsgroups: comp.lang.ada Subject: Getting GNAT to work on a Mac Date: Wed, 1 Jun 2011 18:42:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4141fc31-03ca-4cde-8c84-0b8b147e5d04@m10g2000yqd.googlegroups.com> NNTP-Posting-Host: 24.99.55.67 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1306978953 5848 127.0.0.1 (2 Jun 2011 01:42:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 2 Jun 2011 01:42:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m10g2000yqd.googlegroups.com; posting-host=24.99.55.67; posting-account=-3MmFwoAAADyZPeNxdEc7e6-q1PjRkuU User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19605 Date: 2011-06-01T18:42:32-07:00 List-Id: 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!