From b4b0fb02b13ba46f415a0dd1aa6eb1dc8ca23721 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 16 May 2002 22:15:53 +0000 Subject: * doc/install.texi (Configuration): Document PWDCMD. From-SVN: r53532 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'gcc') 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} -- cgit v1.1