aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-09-08 16:44:04 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2017-09-08 16:44:04 +0200
commit9f00251a8e71aa96e243cb1e95dadbdbad8ada4f (patch)
treef18fc66a190c6be8b0a2cc8c53d22e0c3c8ea02d /gcc/ada
parent8437edb4c28091d5f863dee1d9a0ffd7cfe3e595 (diff)
downloadgcc-9f00251a8e71aa96e243cb1e95dadbdbad8ada4f.zip
gcc-9f00251a8e71aa96e243cb1e95dadbdbad8ada4f.tar.gz
gcc-9f00251a8e71aa96e243cb1e95dadbdbad8ada4f.tar.bz2
Minor doc edit.
From-SVN: r251901
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst11
1 files 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 258494f..7cadacb 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,