Skip to content

Can't compile ADA project in GNATstudio while do in Terminal #30

@SergeySlice

Description

@SergeySlice

The system is macOS Sequoia x86_64. Installed the package
https://github.com/simonjwright/distributing-gcc/releases/download/gcc-14.1.0-x86_64/gcc-14.1.0-x86_64-apple-darwin21.pkg
and GNAT studio
https://sourceforge.net/projects/gnuada/files/latest/download
The compiler worked

sergey@iMac GNAT_studio % gprbuild -Pproba
Compile
   [Ada]          main.adb
Bind
   [gprbind]      main.bexch
   [Ada]          main.ali
Link
   [link]         main.adb
sergey@iMac GNAT_studio % 

But GNATstudio shows

gprbuild -d -P/Applications/1App/GNAT_studio/proba.gpr /Applications/1App/GNAT_studio/src/main.adb
gprconfig: can't find a native toolchain for language 'ada'
gprconfig: can't find a native toolchain for language 'ada'
proba.gpr:1:09: no compiler for language "Ada", cannot compile "main.adb"
gprbuild: *** compilation phase failed
[2025-05-01 23:19:13] process exited with status 7, elapsed time: 06.91s

I edited GNATstudio info.plist for the compiler PATH

Append PATH with: /opt/gcc-14.1.0-x86_64/bin

And what else I needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions