comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Getting GNAT to work on a Mac
Date: Thu, 02 Jun 2011 06:54:34 +0100
Date: 2011-06-02T06:54:34+01:00	[thread overview]
Message-ID: <m2aae06an9.fsf@pushface.org> (raw)
In-Reply-To: 4141fc31-03ca-4cde-8c84-0b8b147e5d04@m10g2000yqd.googlegroups.com

TI Launchpad <gautamcgoel@gmail.com> 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?



      parent reply	other threads:[~2011-06-02  5:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  1:42 Getting GNAT to work on a Mac TI Launchpad
2011-06-02  2:10 ` TI Launchpad
2011-06-02  2:51   ` Bill Findlay
2011-06-02  5:54 ` Simon Wright [this message]
replies disabled

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