comp.lang.ada
 help / color / mirror / Atom feed
* Getting GNAT to work on a Mac
@ 2011-06-02  1:42 TI Launchpad
  2011-06-02  2:10 ` TI Launchpad
  2011-06-02  5:54 ` Simon Wright
  0 siblings, 2 replies; 4+ messages in thread
From: TI Launchpad @ 2011-06-02  1:42 UTC (permalink / 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!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-02  5:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox