Tree [39f55a] default tip /

File Date Author Commit
.hgignore 2013-07-03 Simon Wright Simon Wright [eabce4] First version.
.hgtags 2015-06-28 Simon Wright Simon Wright [39f55a] Added tag 5.1.0-2015 for changeset 3e251bf78c62
COPYING3 2013-07-05 Simon Wright Simon Wright [985fe6] Distribution contruction.
Makefile 2015-06-27 Simon Wright Simon Wright [3e251b] Improved clean target in Makefile.
README 2015-04-29 Simon Wright Simon Wright [f93f78] 5.1.0
compiler_files 2013-07-04 Simon Wright Simon Wright [1d43af] We don't need snames.h.
gnat_util.gpr 2013-07-07 Simon Wright Simon Wright [eb0694] Use gprbuild to create a shared library.
prefix.c 2013-07-03 Simon Wright Simon Wright [eabce4] First version.

Read Me

With GNAT GPL 2013, AdaCore have extracted internal compiler
components into a library called gnat_util, which is used by (at
least) ASIS and GNATColl.

GNAT Util GPL 2013 contains components from the GNAT GPL 2013

At least for ASIS, the components used to build it must match the
components in the compiler, so if building ASIS for use with (for
example) FSF GCC 4.8.1 a version of GNAT Util is needed which contains
components from FSF GCC 4.8.1.

This project provides such a library.

The code is released under GPL V3.0 without any Runtime Exception,
because the compiler components are themselves pure GPL.

If you've just built the compiler, it'd be normal to build the tools
to live with the compiler (that way you can have different versions of
the compiler on your system and switch between them by changing the

The order of building the tools is important.

(0) Install the new compiler and set your PATH so that its bin/
    directory is first: e.g., PATH=/opt/gcc-4.8.1/bin:$PATH

(1) XML/Ada; build and install.

(2) GPRBuild; build and install.

(2a) If you're on Darwin, rebuild XML/Ada using the new gprbuild (make
     clean; make GNATMAKE=gprbuild) and reinstall. This is so that the
     relocatable libraries are correctly built.

(3) AUnit; build and install.

(4) This library; edit the Makefile, build and install. The Makefile
    contains two variable definitions (GCC_SRC_BASE and GCC_BLD_BASE)
    which must be set to match the just-built compiler's source and
    build directories respectively.

(5) GNATColl; build and install.

(6) ASIS; build (make all tools) and install (make install