Ada on Windows without Alire

I’m building a new tool and I would like to compile on Windows as well.

I can’t find GNAT Community Edition anymore. I installed Alire toolchain with GNAT native and GPRBuild. When I build the project directly with gnatmake and gprbuild I get… an ELF binary. I guess some of my settings are wrong, but I’m lost.

The project is here: GitHub - tomekw/tada: Tomek's Ada tool

Use a release from this GitHub repo. Download the GNAT one and the gprbuild one, unzip them to separate directories, and then put the bin directory from each one into PATH. Then you can just use gcc, gnatmake and gprbuild like normal from CMD

1 Like

Perfect, thank you! That worked :slight_smile: