comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Where do I find instructions for installing Gnat and Gnat Studio on the Mac?
Date: Sat, 15 Jan 2022 09:37:07 +0000	[thread overview]
Message-ID: <lyy23h7324.fsf@pushface.org> (raw)
In-Reply-To: 69ece768-da5c-4c64-bb32-2bace006e4f6n@googlegroups.com

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.)

  reply	other threads:[~2022-01-15  9:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-01-15 12:11 ` Björn Lundin
replies disabled

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