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

Where do I find instructions for installing Gnat and Gnat Studio on the Mac?

328 views
Skip to first unread message

Bob Creasy

unread,
Jan 14, 2022, 1:30:19 PM1/14/22
to
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?

Simon Wright

unread,
Jan 15, 2022, 4:37:13 AM1/15/22
to
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.)

Björn Lundin

unread,
Jan 15, 2022, 7:11:45 AM1/15/22
to
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
0 new messages