From: Rainer Orth Date: Thu, 16 May 2002 22:15:53 +0000 (+0000) Subject: * doc/install.texi (Configuration): Document PWDCMD. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4b0fb02b13ba46f415a0dd1aa6eb1dc8ca23721;p=gcc.git * doc/install.texi (Configuration): Document PWDCMD. From-SVN: r53532 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43b6a8c6d6e..8f2dc2843b8 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 894bc994fb3..6dd7f4445fe 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}