]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Add warning in comment about files copied from libgnat
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 26 Nov 2021 10:06:36 +0000 (11:06 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Dec 2021 16:26:32 +0000 (16:26 +0000)
gcc/ada/

* gcc-interface/Make-lang.in (ADA_GENERATED_FILES): Add warning.

gcc/ada/gcc-interface/Make-lang.in

index c01945b4b9fa355aee77ce66141cd478e5f0d2e7..911deb7f078db1f5896ebea6d09c9d3f099c7127 100644 (file)
@@ -1181,6 +1181,10 @@ ada/mdll-utl.o : ada/mdll-utl.adb ada/mdll.ads ada/mdll-utl.ads ada/sdefault.ads
 
 # All generated files.  Perhaps we should build all of these in the same
 # subdirectory, and get rid of ada/bldtools.
+# Warning: the files starting with ada/gnat.ads are not really generated,
+# instead they are copied from the libgnat subdirectory of the source tree
+# during all the stages of the bootstrap, i.e. including stage #1, which
+# means that they still need to be compilable by the base compiler.
 ADA_GENERATED_FILES = \
   ada/sinfo.h ada/einfo.h ada/nmake.adb ada/nmake.ads \
   ada/snames.ads ada/snames.adb ada/snames.h \