Project:Ada

Aim of the project
The project maintain the compiler, builder, system library and IDE for ada. The reference sources are the one present in the libre.adacore.com site, maintained by AdaCore.

Current packages
At present packages are part of the project.
 * dev-lang/gnat-gpl
 * dev-ada/xmlada
 * dev-ada/gprbuild

The dev-lang/gnat-gpl-2016 conflict with the sys-devel/gcc-4.9.4 compiler, as it share with it the sources and the binaries

Build instructions
To build the compiler unfortunately you need an ada/c/c++ compiler already available, to produce an ada/c/c++ compiler.

The compiler to choose should be indicated by the ADA variable in /etc/portage/make.conf.

e.g. ADA=gcc-4.9.4

If you don't have an ada compiler available you must set the bootstrap use flags. In this case the compiler used will be gnat-gpl-2014-x86_64-linux-bin.tar.gz from libre.adacore.com.

Once installed you can use the compiler either
 * by selecting it with gcc-config. In this case you also change the default c/c++ compiler (and this is not supported to upgrade gentoo)
 * by postfixing any ada command with its own version: eg. gnatmake-4.9.4