Ability to build the GNAT runtime with project files
commit9f2e635defba9d697a6c291013b37bd2c7ed91aa
authorArnaud Charlet <charlet@adacore.com>
Sat, 30 May 2020 18:40:02 +0000 (30 14:40 -0400)
committerArnaud Charlet <charlet@adacore.com>
Sat, 30 May 2020 20:15:25 +0000 (30 16:15 -0400)
tree97f7616f192b582d5d4a45c756822cb4377ad87b
parentdd38c765a04d06c775134a135f68b18c3b7c9c78
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.
gcc/ada/Makefile.rtl
gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
gcc/ada/gcc-interface/Makefile.in
gcc/ada/libgnarl/libgnarl.gpr [new file with mode: 0644]
gcc/ada/libgnat/libada.gpr [new file with mode: 0644]
gcc/ada/libgnat/libgnat.gpr [new file with mode: 0644]
gcc/ada/libgnat/libgnat_common.gpr [new file with mode: 0644]
gcc/ada/libgnat/system-mingw.ads
gcc/ada/tb-gcc.c [deleted file]
gcc/ada/tracebak.c