From bd6878e5428f43ff2197f57d864ca3892a868b41 Mon Sep 17 00:00:00 2001 From: ro Date: Thu, 16 May 2002 22:15:53 +0000 Subject: [PATCH] * doc/install.texi (Configuration): Document PWDCMD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53532 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43b6a8c..8f2dc28 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-05-16 Rainer Orth + + * doc/install.texi (Configuration): Document PWDCMD. + 2002-05-16 Dale Johannesen * combine.c (cant_combine_insn_p): Reenable combinations diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 894bc99..6dd7f44 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -280,6 +280,14 @@ If you obtained the sources via CVS, @var{srcdir} must refer to the top @file{gcc} directory, the one where the @file{MAINTAINERS} can be found, and not its @file{gcc} subdirectory, otherwise the build will fail. +If either @var{srcdir} or @var{objdir} is located on an automounted NFS +file system, the shell's built-in @command{pwd} command will return +temporary pathnames. Using these can lead to various sorts of build +problems. To avoid this issue, set the @env{PWDCMD} environment +variable to an automounter-aware @command{pwd} command, e.g., +@command{pawd} or @command{amq -w}, during the configuration and build +phases. + First, in general, GCC @strong{must} be built into a separate directory than the sources which does @strong{not} reside within the source tree. This is how almost all developers build GCC; building where @var{srcdir} -- 2.7.4