[PATCH] ada: Documentation enhancement

Samuel Tardieu sam@rfc1149.net
Fri Dec 7 14:18:00 GMT 2007


Ok for trunk?

    gcc/
	PR ada/29157
	* doc/install.texi: Explain how to check for a clean environment when
	building GNAT.

---
 gcc/doc/install.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 2517303..2425be7 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1913,6 +1913,12 @@ and has a sufficiently recent version; if too old a GNAT version is
 installed, the build will fail unless @option{--enable-languages} is
 used to disable building the Ada front end.
 
+@env{ADA_INCLUDE_PATH} and @env{ADA_OBJECT_PATH} environment variables
+must not be set when building the Ada compiler, the Ada tools, or the
+Ada runtime libraries. You can check that your build environment is clean
+by verifying that @samp{gnatls -v} lists only one explicit path in each
+section.
+
 @section Building with profile feedback
 
 It is possible to use profile feedback to optimize the compiler itself.  This
-- 
1.5.3.7



More information about the Gcc-patches mailing list