comp.lang.ada
 help / color / mirror / Atom feed
* Where do I find instructions for installing Gnat and Gnat Studio on the Mac?
@ 2022-01-14 18:30 Bob Creasy
  2022-01-15  9:37 ` Simon Wright
  2022-01-15 12:11 ` Björn Lundin
  0 siblings, 2 replies; 3+ messages in thread
From: Bob Creasy @ 2022-01-14 18:30 UTC (permalink / raw)


If my experience is typical, it's no wonder Ada isn't popular. I've downloaded the installer for GNAT 2018 for MacOS, since it's the only one containing Gnat Studio.  While I can easily find documentation for installing Gnat on Windows and Linux, I can't find any for MacOS. In fact, Adacore leaves out MacOS installation in their tutorials. If MacOS isn't supported, then why confuse users by making it available for download?

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

* Re: Where do I find instructions for installing Gnat and Gnat Studio on the Mac?
  2022-01-14 18:30 Where do I find instructions for installing Gnat and Gnat Studio on the Mac? Bob Creasy
@ 2022-01-15  9:37 ` Simon Wright
  2022-01-15 12:11 ` Björn Lundin
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Wright @ 2022-01-15  9:37 UTC (permalink / raw)


Bob Creasy <joebeazelman@gmail.com> writes:

> If my experience is typical, it's no wonder Ada isn't popular. I've
> downloaded the installer for GNAT 2018 for MacOS, since it's the only
> one containing Gnat Studio.  While I can easily find documentation for
> installing Gnat on Windows and Linux, I can't find any for MacOS. In
> fact, Adacore leaves out MacOS installation in their tutorials. If
> MacOS isn't supported, then why confuse users by making it available
> for download?

GNAT CE 2019 for macOS includes GPS, the previous name for GNATStudio.

Having dowloaded the disk image
gnat-community-2019-20190517-x86_64-darwin-bin.dmg, I double-click on it
and a Finder window opens showing the installer 
gnat-community-2019-20190517-x86_64-darwin-bin.

Double-click on this, and a window pops up saying

    “gnat-community-2019-20190517-x86_64-darwin-bin” cannot be opened
    because the developer cannot be verified.

and offering the choice of ejecting the disk image or cancelling.

When the machine does this - fair enough, Apple don't want it to be
too easy to install random software - the trick is, instead of
double-clicking on the installer, to pop up an option menu, either with
Control-<left mouse button> or just <right mouse button>, and choose
"Open". Now you get a pop-up saying

    macOS cannot verify the developer of
    “gnat-community-2019-20190517-x86_64-darwin-bin”. Are you sure you
    want to open it?

    By opening this app, you will be overriding system security which
    can expose your computer and personal information to malware that
    may harm your Mac or compromise your privacy.

and this time you have an "Open" option. Select it, and off you go.

(I haven't tried this on Monterey, because I already have GNAT CE 2019
installed, or on an M1 Mac, because I don't have one.)

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

* Re: Where do I find instructions for installing Gnat and Gnat Studio on the Mac?
  2022-01-14 18:30 Where do I find instructions for installing Gnat and Gnat Studio on the Mac? Bob Creasy
  2022-01-15  9:37 ` Simon Wright
@ 2022-01-15 12:11 ` Björn Lundin
  1 sibling, 0 replies; 3+ messages in thread
From: Björn Lundin @ 2022-01-15 12:11 UTC (permalink / raw)


Den 2022-01-14 kl. 19:30, skrev Bob Creasy:

hmm, below reply ended up unintentionally as mail to the OP.
It was intended for c.l.a


> If my experience is typical, it's no wonder Ada isn't popular. I've downloaded the installer for GNAT 2018 for MacOS, since it's the only one containing Gnat Studio.


I just downloaded 2018, double-clicked the .img, started the installer,
which installed
* gnat
* spark
* gps

all in /Users/xxx/opt/GNAT/2018/bin


set path as instructed in last install screen


start gps (terminal or Finder)
I don't think you get an icon in /Applications



 > While I can easily find documentation for installing Gnat on Windows 
and Linux, I can't find any for MacOS.

but do you need one?

 >In fact, Adacore leaves out MacOS installation in their tutorials. If 
 >MacOS isn't supported, then why confuse users by making it available 
 >for download?


It is getting out of support - I think. I don't think they plan on go 
beyond intel 64bit.





-- 
Björn

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

end of thread, other threads:[~2022-01-15 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 18:30 Where do I find instructions for installing Gnat and Gnat Studio on the Mac? Bob Creasy
2022-01-15  9:37 ` Simon Wright
2022-01-15 12:11 ` Björn Lundin

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