From 9f00251a8e71aa96e243cb1e95dadbdbad8ada4f Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 8 Sep 2017 16:44:04 +0200 Subject: [PATCH] Minor doc edit. From-SVN: r251901 --- gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 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 258494fd07e..7cadacbc6ad 100644 --- a/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst +++ b/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst @@ -3159,9 +3159,14 @@ preprocessing in a file, either run ``gnatprep`` in standalone mode or else supply the :switch:`-gnateG` switch (described below) to the compiler. -The ``gnatmake`` switch :switch:`-s` should be used with integrated -preprocessing; otherwise the use of a different preprocessor data file -without changing the sources will not cause recompilation. +When using project files: + + * the builder switch :switch:`-x` should be used if any Ada source is + compiled with :switch:`gnatep=`, so that the compiler finds the + *preprocessor data file*. + + * the preprocessing data file and the symbol definition files should be + located in the source directories of the project. Note that the ``gnatmake`` switch :switch:`-m` will almost always trigger recompilation for sources that are preprocessed, -- 2.30.2