comp.lang.ada
 help / color / mirror / Atom feed
From: TI Launchpad <gautamcgoel@gmail.com>
Subject: Getting GNAT to work on a Mac
Date: Wed, 1 Jun 2011 18:42:32 -0700 (PDT)
Date: 2011-06-01T18:42:32-07:00	[thread overview]
Message-ID: <4141fc31-03ca-4cde-8c84-0b8b147e5d04@m10g2000yqd.googlegroups.com> (raw)

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!



             reply	other threads:[~2011-06-02  1:42 UTC|newest]

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

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