From README.md of GitHub - AdaCore/xmlada: The XML/Ada toolkit. · GitHub we find this suggestion:
You need to automatically detect a few aspects of your build environment,
which is done by running
./configure --prefix=PREFIX
where PREFIX is the installation directory you wish to use. It is recommended
to install into the GNAT directory. This way the project files will be
installed into the default location where gnatmake and gprbuild are looking
for projects.
But what is meant by “the GNAT directory”? For example, the gnat binary resides in /opt/bin. But, I doubt that I should use: “./configure –prefix=/opt/bin” ??
I had earlier tried to use “./configure –prefix=/opt” but had run into troubles with grpconfig not finding the gnat that was installed in /opt/bin. (So, I am re-tracing installation steps to see if I can get it correct this time.)
So, what is the correct setting to use for —prefix ?