Could not find gnatmake binary after MacOS installation

230 Views Asked by At

After installing gnat for darwin (arm) macos, following this guide (see "AdaCore compiler on mac" section), I could not find the gnatmake in the /bin folder that all the other binaries were in. Quite confused. (I wanted to install gnat to build ghdl.)

1

There are 1 best solutions below

2
Simon Wright On

I presume you’re running on a Mac with Apple silicon (e.g. M1, M2).

You can run Intel binaries on Apple silicon under Rosetta emulation (it’s very fast, don’t worry). The machine will ask you if that’s OK the first time, thereafter it’s transparent.

For Intel (x86_64) binaries, see here.

For Apple (aarch64, aka arm64) binaries, see here

For the IDE, GNAT Studio, see here. There’s an issue: not all the menu choices respond to mouse clicks, you may have to use the cursor keys and [RET].