Hello,
I'm trying to find a way to compile ada files with gcc but it indicates that the Ada compiler is not installed.
I was not able to install gnat (or gprbuild).
The only manner I found was to install the complete AdaCore development environment. It worked but I'm still unable to compile with gcc directly...
Does everyone have a solution?
I know tha ada programming is not very currentn.
Thank you if you can help me and thank you for the huge Solus team's work!
Christophe
How to compile ada
Christophe_GH nice name
I'm going to take a guess here but I think you'll need to recompile gcc to include ada support. I could be wrong.
- Edited
Christophe_GH
Finally, I managed in installing adacore IDE (GPS). It is installed on the user or opt/ directory and includes gcc. So when I want to compile ada, I just add the binary directory to the PATH environment variable (via an alias in my .bashrc) and it works with gcc -c and gnatmake.
But maybe recompiling gcc with ada support is the correct way.