From owner-cvs-all Fri May 10 1:41:50 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4EB1B37B408; Fri, 10 May 2002 01:41:47 -0700 (PDT) Received: (from obrien@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4A8flG31979; Fri, 10 May 2002 01:41:47 -0700 (PDT) (envelope-from obrien) Message-Id: <200205100841.g4A8flG31979@freefall.freebsd.org> From: "David E. O'Brien" Date: Fri, 10 May 2002 01:41:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/cc/cc_tools freebsd-native.h X-FreeBSD-CVS-Branch: WIP_GCC31 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG obrien 2002/05/10 01:41:46 PDT Modified files: (Branch: WIP_GCC31) gnu/usr.bin/cc/cc_tools freebsd-native.h Log: Use MD_EXEC_PREFIX now to get us thru `buildworld'. The problem is the GCC driver now turns STANDARD_EXEC_PREFIX into a relative path -- "/../../libexec" for our normal install location. However, in the middle of `buildworld' we need "/../../../../libexec" due to the prefix we tell the GCC driver. But either the GCC driver is buggy, or we are confusing it, as it tries to exec "/../../libexec/cpp0" as if it were installed in the normal place (but isn't). MD_EXEC_PREFIX is still absolute, so I'll use that for now. I would like to later make it so MD_EXEC_PREFIX is set only for `buildworld', as MD_EXEC_PREFIX is also in the search path for libraries. Don't ask me why! Another way is to add ${OBJFORMAT_PATH} (as set in CROSSENV) to the PATH in src/Makefile.inc's WMAKEENV. Revision Changes Path 1.9.2.7 +1 -1 src/gnu/usr.bin/cc/cc_tools/freebsd-native.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message