aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2007-12-07 14:31:48 +0000
committerSamuel Tardieu <sam@gcc.gnu.org>2007-12-07 14:31:48 +0000
commite397a9f1b6dcd66e4d5606588c3e3cdf687cf194 (patch)
treee684b4f54d0e6d4e3030af783e3bf8edecbbf297 /gcc
parent5a2fe31acfc1f03b8954b1d5358ce8411772423e (diff)
downloadgcc-e397a9f1b6dcd66e4d5606588c3e3cdf687cf194.zip
gcc-e397a9f1b6dcd66e4d5606588c3e3cdf687cf194.tar.gz
gcc-e397a9f1b6dcd66e4d5606588c3e3cdf687cf194.tar.bz2
re PR ada/29157 (gnattools fail on cross compilation - Makefile bug?)
gcc/ PR ada/29157 * doc/install.texi: Explain how to check for a clean environment when building GNAT. From-SVN: r130675
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/install.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf2604c..dd46b5f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
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