On Tue, Jul 4, 2017 at 2:53 PM, Michael Matz <m...@suse.de> wrote: > Hi, > > On Tue, 4 Jul 2017, Wilco Dijkstra wrote: > >> > You'll probably also have to set GNATBIND and GNATMAKE to the >> > appropriately suffixed variants. Just saying, because that's what I'm >> > usually forgetting and end up with strange errors :) >> >> Configure seems to be able to find gnatbind/gnatmake as they are in /usr/bin. > > Sure, but if you use gcc-5 as compiler you'll want to use gnatbind-5 as > well, not gnatbind (which presumably is from the default 4.8 compiler you > have). > >> Compiling a simple .adb file as suggested gives: >> >> > /usr/bin/gcc-5 tmp.adb -S >> gcc-5: error trying to exec 'gnat1': execvp: No such file or directory >> >> Is this part of the GCC driver, GNAT or something else that needs to be >> installed first? > > Don't know the package naming convention on Ubuntu (?). For us it's e.g. > gcc5-ada that you'd need to install in addition. google tells me gnat-5 > should be it.
gnat-7 was on the machine instead of gnat-5 and that was probably the cause of the fun and games. Ramana > > > Ciao, > Michael.