comp.lang.ada
 help / color / mirror / Atom feed
* Installing gnat on OS X
@ 2014-03-17 22:16 Alan Browne
  2014-03-17 22:44 ` Installing gnat on OS X / belay that Alan Browne
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Browne @ 2014-03-17 22:16 UTC (permalink / raw)


Hi,

I haven't touched Ada since the late 80s and I'd like to experiment with 
it.  I can't get gnat to install on Mavericks (10.9.2).

What is the correct location to install gnat to with the ./doinstall 
procedure.  If I use the default { /usr/local/gnat } I get all sorts of 
errors - whether from a user account or an admin account.

Thx.


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

* Re: Installing gnat on OS X / belay that
  2014-03-17 22:16 Installing gnat on OS X Alan Browne
@ 2014-03-17 22:44 ` Alan Browne
  2014-03-17 22:55   ` Bill Findlay
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Browne @ 2014-03-17 22:44 UTC (permalink / raw)


On 2014.03.17, 18:16 , Alan Browne wrote:
> Hi,
>
> I haven't touched Ada since the late 80s and I'd like to experiment with
> it.  I can't get gnat to install on Mavericks (10.9.2).
>
> What is the correct location to install gnat to with the ./doinstall
> procedure.  If I use the default { /usr/local/gnat } I get all sorts of
> errors - whether from a user account or an admin account.


With sudo ./doinstall it worked.  Wasn't clear from the readme...




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

* Re: Installing gnat on OS X / belay that
  2014-03-17 22:44 ` Installing gnat on OS X / belay that Alan Browne
@ 2014-03-17 22:55   ` Bill Findlay
  2014-03-18  0:37     ` Alan Browne
  0 siblings, 1 reply; 10+ messages in thread
From: Bill Findlay @ 2014-03-17 22:55 UTC (permalink / raw)


On 17/03/2014 22:44, in article
CY2dnUkxWd8m57rOnZ2dnUVZ_gSdnZ2d@giganews.com, "Alan Browne"
<alan.browne@FreelunchVideotron.ca> wrote:

> On 2014.03.17, 18:16 , Alan Browne wrote:
>> Hi,
>> 
>> I haven't touched Ada since the late 80s and I'd like to experiment with
>> it.  I can't get gnat to install on Mavericks (10.9.2).
>> 
>> What is the correct location to install gnat to with the ./doinstall
>> procedure.  If I use the default { /usr/local/gnat } I get all sorts of
>> errors - whether from a user account or an admin account.
> 
> 
> With sudo ./doinstall it worked.  Wasn't clear from the readme...

You might find that you also need the OS X BSD command line tools
(GNAT uses the ld command, e.g.).  See:

http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-
10-9-mavericks-how-to/

-- 
Bill Findlay
with blueyonder.co.uk;
use  surname & forename;


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

* Re: Installing gnat on OS X / belay that
  2014-03-17 22:55   ` Bill Findlay
@ 2014-03-18  0:37     ` Alan Browne
  2014-03-18  9:23       ` ake.ragnar.dahlgren
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Browne @ 2014-03-18  0:37 UTC (permalink / raw)


On 2014.03.17, 18:55 , Bill Findlay wrote:
> On 17/03/2014 22:44, in article
> CY2dnUkxWd8m57rOnZ2dnUVZ_gSdnZ2d@giganews.com, "Alan Browne"
> <alan.browne@FreelunchVideotron.ca> wrote:
>
>> On 2014.03.17, 18:16 , Alan Browne wrote:
>>> Hi,
>>>
>>> I haven't touched Ada since the late 80s and I'd like to experiment with
>>> it.  I can't get gnat to install on Mavericks (10.9.2).
>>>
>>> What is the correct location to install gnat to with the ./doinstall
>>> procedure.  If I use the default { /usr/local/gnat } I get all sorts of
>>> errors - whether from a user account or an admin account.
>>
>>
>> With sudo ./doinstall it worked.  Wasn't clear from the readme...
>
> You might find that you also need the OS X BSD command line tools
> (GNAT uses the ld command, e.g.).  See:
>
> http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-
> 10-9-mavericks-how-to/

Done some time ago when I needed to get my Pascal compiler running after 
the Mavericks install.

But thx.

-- 
   Privacy has become an essential personal chore that most
   people are not trained to perform.
                  - Jaron Lanier, Scientific American, 2013.11.



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

* Re: Installing gnat on OS X / belay that
  2014-03-18  0:37     ` Alan Browne
@ 2014-03-18  9:23       ` ake.ragnar.dahlgren
  2014-03-18 20:17         ` Alan Browne
  0 siblings, 1 reply; 10+ messages in thread
From: ake.ragnar.dahlgren @ 2014-03-18  9:23 UTC (permalink / raw)


Dear Alan,

You did not specify which version of GNAT you were installing. I suggest downloading the Libre GNAT 2013 compiler (darwin version) from the website: http://libre.adacore.com/

In addition installing XAdaLib worked great for me:
http://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2013-mavericks/

Best regards,
Åke Ragnar Dahlgren

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

* Re: Installing gnat on OS X / belay that
  2014-03-18  9:23       ` ake.ragnar.dahlgren
@ 2014-03-18 20:17         ` Alan Browne
  2014-03-18 20:25           ` Bill Findlay
  2014-03-18 22:38           ` Simon Wright
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Browne @ 2014-03-18 20:17 UTC (permalink / raw)


On 2014.03.18, 05:23 , ake.ragnar.dahlgren@gmail.com wrote:
> Dear Alan,
>
> You did not specify which version of GNAT you were installing. I suggest downloading the Libre GNAT 2013 compiler (darwin version) from the website: http://libre.adacore.com/
>
> In addition installing XAdaLib worked great for me:
> http://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2013-mavericks/
>
> Best regards,
> Åke Ragnar Dahlgren

Hi Åke, as stated a couple posts ago, it's all fine now.  I needed to 
use sudo, that's all.  That fact was not in the Readme that came with 
the DL.

I used the gnat-gpl-2013-x86_64-apple-darwin12.2.0-bin from the adacore 
site.

What I'd like now is a light IDE to work in.  I'm trading e-mails with 
the Lightweight-IDE author as it's not working there - he says I'm the 
only person in a long time to ask questions about Ada for that IDE ... 
if there is something else that isn't as insanely confusing as X-code, 
I'd be real happy.

Cheers.

-- 
    ... it may be that "in the cloud" really isn't the best term
    for the services these companies offer.  What they really
    want is to have us "on the leash."
                   -David Pogue, Scientific American, 2014.02


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

* Re: Installing gnat on OS X / belay that
  2014-03-18 20:17         ` Alan Browne
@ 2014-03-18 20:25           ` Bill Findlay
  2014-03-18 22:26             ` Alan Browne
  2014-03-18 22:38           ` Simon Wright
  1 sibling, 1 reply; 10+ messages in thread
From: Bill Findlay @ 2014-03-18 20:25 UTC (permalink / raw)


On 18/03/2014 20:17, in article
OpmdnVg3Qvt7NLXOnZ2dnUVZ_sydnZ2d@giganews.com, "Alan Browne"
<alan.browne@FreelunchVideotron.ca> wrote:

> What I'd like now is a light IDE to work in.  I'm trading e-mails with
> the Lightweight-IDE author as it's not working there - he says I'm the
> only person in a long time to ask questions about Ada for that IDE ...
> if there is something else that isn't as insanely confusing as X-code,
> I'd be real happy.

The command line and a nice editor like BBEdit?

-- 
Bill Findlay
with blueyonder.co.uk;
use  surname & forename;




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

* Re: Installing gnat on OS X / belay that
  2014-03-18 20:25           ` Bill Findlay
@ 2014-03-18 22:26             ` Alan Browne
  2014-03-18 22:42               ` Bill Findlay
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Browne @ 2014-03-18 22:26 UTC (permalink / raw)


On 2014.03.18, 16:25 , Bill Findlay wrote:
> On 18/03/2014 20:17, in article
> OpmdnVg3Qvt7NLXOnZ2dnUVZ_sydnZ2d@giganews.com, "Alan Browne"
> <alan.browne@FreelunchVideotron.ca> wrote:
>
>> What I'd like now is a light IDE to work in.  I'm trading e-mails with
>> the Lightweight-IDE author as it's not working there - he says I'm the
>> only person in a long time to ask questions about Ada for that IDE ...
>> if there is something else that isn't as insanely confusing as X-code,
>> I'd be real happy.
>
> The command line and a nice editor like BBEdit?

That's approximately my current state.

-- 
   Privacy has become an essential personal chore that most
   people are not trained to perform.
                  - Jaron Lanier, Scientific American, 2013.11.

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

* Re: Installing gnat on OS X / belay that
  2014-03-18 20:17         ` Alan Browne
  2014-03-18 20:25           ` Bill Findlay
@ 2014-03-18 22:38           ` Simon Wright
  1 sibling, 0 replies; 10+ messages in thread
From: Simon Wright @ 2014-03-18 22:38 UTC (permalink / raw)


Alan Browne <alan.browne@FreelunchVideotron.ca> writes:

> What I'd like now is a light IDE to work in.

I use Emacs + ada-mode; GNAT's GPS has a lot of features but I don't
often need to use them.


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

* Re: Installing gnat on OS X / belay that
  2014-03-18 22:26             ` Alan Browne
@ 2014-03-18 22:42               ` Bill Findlay
  0 siblings, 0 replies; 10+ messages in thread
From: Bill Findlay @ 2014-03-18 22:42 UTC (permalink / raw)


On 18/03/2014 22:26, in article
WaydnRkki-6UVbXOnZ2dnUVZ_uCdnZ2d@giganews.com, "Alan Browne"
<alan.browne@FreelunchVideotron.ca> wrote:

> On 2014.03.18, 16:25 , Bill Findlay wrote:
>> On 18/03/2014 20:17, in article
>> OpmdnVg3Qvt7NLXOnZ2dnUVZ_sydnZ2d@giganews.com, "Alan Browne"
>> <alan.browne@FreelunchVideotron.ca> wrote:
>> 
>>> What I'd like now is a light IDE to work in.  I'm trading e-mails with
>>> the Lightweight-IDE author as it's not working there - he says I'm the
>>> only person in a long time to ask questions about Ada for that IDE ...
>>> if there is something else that isn't as insanely confusing as X-code,
>>> I'd be real happy.
>> 
>> The command line and a nice editor like BBEdit?
> 
> That's approximately my current state.

There is a lot to be said for it. 8-)

-- 
Bill Findlay
with blueyonder.co.uk;
use  surname & forename;




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

end of thread, other threads:[~2014-03-18 22:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-17 22:16 Installing gnat on OS X Alan Browne
2014-03-17 22:44 ` Installing gnat on OS X / belay that Alan Browne
2014-03-17 22:55   ` Bill Findlay
2014-03-18  0:37     ` Alan Browne
2014-03-18  9:23       ` ake.ragnar.dahlgren
2014-03-18 20:17         ` Alan Browne
2014-03-18 20:25           ` Bill Findlay
2014-03-18 22:26             ` Alan Browne
2014-03-18 22:42               ` Bill Findlay
2014-03-18 22:38           ` Simon Wright

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