diff options
author | Arnaud Charlet <charlet@adacore.com> | 2020-05-30 14:40:02 -0400 |
---|---|---|
committer | Arnaud Charlet <charlet@adacore.com> | 2020-05-30 16:15:25 -0400 |
commit | 9f2e635defba9d697a6c291013b37bd2c7ed91aa (patch) | |
tree | 97f7616f192b582d5d4a45c756822cb4377ad87b /gcc/ada/doc/gnat_ugn | |
parent | dd38c765a04d06c775134a135f68b18c3b7c9c78 (diff) | |
download | gcc-9f2e635defba9d697a6c291013b37bd2c7ed91aa.zip gcc-9f2e635defba9d697a6c291013b37bd2c7ed91aa.tar.gz gcc-9f2e635defba9d697a6c291013b37bd2c7ed91aa.tar.bz2 |
Ability to build the GNAT runtime with project files
This change add project files to provide the ability to rebuild the
runtime with gprbuild after setup-rts is called.
gcc/ada/
* Makefile.rtl (ADA_INCLUDE_SRCS): Replace Makefile.adalib by
libada.gpr and associated project files.
(g-debpoo.o): Add missing rule to ensure subprograms are not reordered.
(setup-rts): Add generation of libgnat/libgnarl.lst.
(LIBGNAT_SRCS): Remove thread.c which is part of libgnarl.
* tracebak.c, tb-gcc.c: Merged the two files to simplify dependencies.
* libgnarl/libgnarl.gpr, libgnat/libada.gpr,
libgnat/libgnat.gpr, libgnat/libgnat_common.gpr: New files.
* doc/gnat_ugn/the_gnat_compilation_model.rst: Makefile.adalib
replaced by libada.gpr.
* libgnat/system-mingw.ads: Remove obsolete comment.
* gcc-interface/Makefile.in: Remove dependency on tb-gcc.c.
Diffstat (limited to 'gcc/ada/doc/gnat_ugn')
-rw-r--r-- | gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst b/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst index d7388bb..0b587ef 100644 --- a/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst +++ b/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst @@ -2393,10 +2393,9 @@ Rebuilding the GNAT Run-Time Library .. index:: Rebuilding the GNAT Run-Time Library .. index:: Run-Time Library, rebuilding -It may be useful to recompile the GNAT library in various contexts, the -most important one being the use of partition-wide configuration pragmas -such as ``Normalize_Scalars``. A special Makefile called -:file:`Makefile.adalib` is provided to that effect and can be found in +It may be useful to recompile the GNAT library in various debugging or +experimentation contexts. A project file called +:file:`libada.gpr` is provided to that effect and can be found in the directory containing the GNAT library. The location of this directory depends on the way the GNAT environment has been installed and can be determined by means of the command: @@ -2405,10 +2404,13 @@ be determined by means of the command: $ gnatls -v -The last entry in the object search path usually contains the -gnat library. This Makefile contains its own documentation and in -particular the set of instructions needed to rebuild a new library and -to use it. +The last entry in the source search path usually contains the +gnat library (the :file:`adainclude` directory). This project file contains its +own documentation and in particular the set of instructions needed to rebuild a +new library and to use it. + +Note that rebuilding the GNAT Run-Time is only recommended for temporary +experiments or debugging, and is not supported. .. index:: ! Conditional compilation |