Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
readme.md | 2023-07-16 | 2.4 kB |
|
20230713-Applications.dmg | 2023-07-16 | 197.9 MB | |
Totals: 2 Items | 197.9 MB | 0 |
GNATStudio 24.0wa for macOS
Here is GNATStudio as a stand alone app for macOS 13.
Steps used to build GNATStudio.app:
TBD
Get the app
- The app doesn't run on macOS prior version 13 due to dynamic library loader changes.
- Download and open the application DMG file.
- Copy the app in a local folder with your write access (for instance
$HOME/Applications
).
Important steps before launching the app
-
The app is not codesigned, you'll perhaps need to delete quarantine attributes with xattr.
xattr -r -d com.apple.quarantine $HOME/Applications/gnatstudio.app
-
The GNAT and GPR toolchains are predefined to GNAT FSF 13.1 e.g.
/opt/gcc-13.1.0/bin
. If you have an other location you need to changeGS_GNAT_PATH
andGS_GPR_PATH
in Info.plist of the GNATStudio app. Take care that the Info.plist is cached so you have to put the Info.plist file in a dummy folder and put it back to the app folder. After running GNATStudio, verify the toolchain in menushelp->about
andbuild->settings->toolchains
. - This new GPS aka GNATStudio will create a new
.gnatstudio
folder in $HOME based on.gps
if existing, thus to avoid some troubles I recommande to rename.gps
the first time. - The first launch may take a long time before the GNATStudio window appears due to some macOS stuff. If a window popup appears asking for acknowledgement to access your Documents folder then clic on button OK.
-
In case of issues, I advise to launch the app for the first time in the Terminal to watch logs:
% $HOME/Applications/GNATStudio.app/Contents/MacOS/gnatstudio_launcher
or
% open -a $HOME/Applications/GNATStudio.app --stdout=`tty` --stderr=`tty`
Take care of you PATH contents. Keep your path list to the minimum. Avoid Python, MacPorts, Brew paths. With the first line, toolchains will be searched only in curent PATH. With the second line, toolchains will be search only in
GS_GNAT_PATH
andGS_GPR_PATH
.
Known limitations:
There could be some limitations that you might meet. Feel free to report them on MacAda list. Any help will be really appreciated.
History
- 20230713 : Initial GNATStudio 24.0wa release.
Pascal Pignard, July 2023.