Menu

Tree [d68422] default tip /
 History

Read Only access


File Date Author Commit
 .hgignore 2013-07-03 Simon Wright Simon Wright [eabce4] First version.
 .hgtags 2018-05-10 Simon Wright Simon Wright [1c8f2d] Added tag 8.1.0 for changeset 366ab76b4248
 COPYING3 2013-07-05 Simon Wright Simon Wright [985fe6] Distribution contruction.
 Makefile 2018-11-18 Simon Wright Simon Wright [d68422] Minor Makefile update.
 README 2015-04-29 Simon Wright Simon Wright [f93f78] 5.1.0
 compiler_files 2018-05-06 Simon Wright Simon Wright [366ab7] Update for GCC 8.1.0.
 gnat_util.gpr 2018-05-06 Simon Wright Simon Wright [366ab7] Update for GCC 8.1.0.
 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
compiler.

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
PATH).

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
    install-tools).
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.