Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ada and Xcode

186 views
Skip to first unread message

Charles H. Sampson

unread,
Oct 13, 2013, 2:15:15 AM10/13/13
to
I'm coming to this question pretty late and I apologize for that.
Does the Macada distribution of GNAT work with Xcode? The rather skimpy
documentation mentions plugins for Xcode but doesn't clearly say that
the installation process plugs them in nor what I should do to plug them
in. I haven't found a mention of plugins in the Xcode documentation.

The brutal truth is that my Hello World program doesn't work. I
somehow got it to compile once but that version doesn't execute
properly. Now I've lost the abilty to compile; Xcode doesn't know what
to do with .adb files.

I'm running on a PowerPC Mac with OS X 10.4.11.

I've got over 15 years of c.l.a posts but haven't been able to find
answers there.

Pointers in place of detailed answers will be gratefully accepted.

Charlie
--
Nobody in this country got rich on his own. You built a factory--good.
But you moved your goods on roads we all paid for. You hired workers we
all paid to educate. So keep a big hunk of the money from your factory.
But take a hunk and pay it forward. Elizabeth Warren (paraphrased)

Simon Wright

unread,
Oct 13, 2013, 3:50:55 AM10/13/13
to
csam...@inetworld.net (Charles H. Sampson) writes:

> I'm coming to this question pretty late and I apologize for that.
> Does the Macada distribution of GNAT work with Xcode? The rather skimpy
> documentation mentions plugins for Xcode but doesn't clearly say that
> the installation process plugs them in nor what I should do to plug them
> in. I haven't found a mention of plugins in the Xcode documentation.
>
> The brutal truth is that my Hello World program doesn't work. I
> somehow got it to compile once but that version doesn't execute
> properly. Now I've lost the abilty to compile; Xcode doesn't know what
> to do with .adb files.
>
> I'm running on a PowerPC Mac with OS X 10.4.11.
>
> I've got over 15 years of c.l.a posts but haven't been able to find
> answers there.

The consensus (see eg [1]) is that there isn't a usable Xcode plugin for
Ada. It does depend rather on your version of Xcode; the version at [2]
only 'works' with Xcode 3.0.

I don't see a ppc version of GNAT at libre.adacore.com, but there's a
GNAT GPL 2009 at Sourceforge[3].

If I was using that, I'd use Emacs[4] with ada-mode; not sure whether
this will run with Tiger, but it is a universal binary.

[1] http://comments.gmane.org/gmane.comp.lang.ada.macosx/1156
[2] http://maxao.free.fr/xcode-ada-plugin/
[3]
https://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/
[4] http://emacsformacosx.com/

John B. Matthews

unread,
Oct 13, 2013, 8:27:21 PM10/13/13
to
In article <1lanher.1x21jy8c9am1dN%csam...@inetworld.net>,
csam...@inetworld.net (Charles H. Sampson) wrote:

> I'm coming to this question pretty late and I apologize for that.
> Does the Macada distribution of GNAT work with Xcode? The rather
> skimpy documentation mentions plugins for Xcode but doesn't clearly
> say that the installation process plugs them in nor what I should do
> to plug them in. I haven't found a mention of plugins in the Xcode
> documentation.
>
> The brutal truth is that my Hello World program doesn't work. I
> somehow got it to compile once but that version doesn't execute
> properly. Now I've lost the abilty to compile; Xcode doesn't know
> what to do with .adb files.
>
> I'm running on a PowerPC Mac with OS X 10.4.11.
>
> I've got over 15 years of c.l.a posts but haven't been able to find
> answers there.
>
> Pointers in place of detailed answers will be gratefully accepted.

It worked at the time that Mac OS X 10.4.11 and Xcode 3.0 were extant.
You may be able to glean something from the GNAT-OSX archives:

<https://hermes.gwu.edu/cgi-bin/wa?S1=gnat-osx>
<http://www.macada.org/macada/Welcome.html>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
0 new messages