From: Samuel Tardieu Date: Fri, 7 Dec 2007 14:31:48 +0000 (+0000) Subject: re PR ada/29157 (gnattools fail on cross compilation - Makefile bug?) X-Git-Tag: releases/gcc-4.3.0~1162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e397a9f1b6dcd66e4d5606588c3e3cdf687cf194;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf2604c207e8..dd46b5f00866 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-12-07 Samuel Tardieu + + PR ada/29157 + * doc/install.texi: Explain how to check for a clean environment when + building GNAT. + 2007-12-07 Richard Guenther * tree-profile.c (gcov_type_tmp_var): New global variable. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 2517303260f7..2425be78d4c6 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