diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-11 12:49:21 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-11 12:49:21 +0000 |
commit | ff9f169bc9bb93fa709b16b8ef4d5f664b3fe66c (patch) | |
tree | 6fda737eaa79b6f84b8996e52f0d2d2b8e346abe /gcc/ada/gnat_ugn.texi | |
parent | 1ca2f15b3a6b5ee39ff64f73f5773811f4040f51 (diff) | |
download | gcc-ff9f169bc9bb93fa709b16b8ef4d5f664b3fe66c.tar.gz |
2013-04-11 Vincent Celier <celier@adacore.com>
* make.adb (Compile): Clarify the error message reported
when gnatmake refuses to compile a runtime source.
(Start_Compile_If_Possible): Ditto.
2013-04-11 Vincent Celier <celier@adacore.com>
* gnat_ugn.texi: Add documentation about -gnatc and gnatmake.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 52107510c06..dadf4d1ad27 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -4153,7 +4153,15 @@ Assume no invalid (bad) values except for 'Valid attribute use @item -gnatc @cindex @option{-gnatc} (@command{gcc}) -Check syntax and semantics only (no code generation attempted). +Check syntax and semantics only (no code generation attempted). When the +compiler is invoked by @command{gnatmake}, if the switch @option{-gnatc} is +only given to the compiler (after @option{-cargs} or in package Compiler of +the project file, @command{gnatmake} will fail because it will not find the +object file after compilation. If @command{gnatmake} is called with +@option{-gnatc} as a builder switch (before @option{-cargs} or in package +Builder of the project file) then @command{gnatmake} will not fail because +it will not look for the object files after compilation, and it will not try +to build and link. @item -gnatC @cindex @option{-gnatC} (@command{gcc}) |