OSDN Git Service

gcc/
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2007 14:31:48 +0000 (14:31 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2007 14:31:48 +0000 (14:31 +0000)
PR ada/29157
* doc/install.texi: Explain how to check for a clean environment when
building GNAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130675 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/install.texi

index bf2604c..dd46b5f 100644 (file)
@@ -1,3 +1,9 @@
+2007-12-07  Samuel Tardieu  <sam@rfc1149.net>
+
+       PR ada/29157
+       * doc/install.texi: Explain how to check for a clean environment when
+       building GNAT.
+
 2007-12-07  Richard Guenther  <rguenther@suse.de>
 
        * tree-profile.c (gcov_type_tmp_var): New global variable.
index 2517303..2425be7 100644 (file)
@@ -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