From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19888 invoked by alias); 9 Feb 2005 19:07:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19587 invoked by uid 48); 9 Feb 2005 19:07:51 -0000 Date: Wed, 09 Feb 2005 23:58:00 -0000 Message-ID: <20050209190751.19586.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050209165927.19856.bryanh@giraffe-data.com> References: <20050209165927.19856.bryanh@giraffe-data.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug driver/19856] GCC_EXEC_PREFIX used wrong X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg00716.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-09 19:07 ------- I think this related to PR 14435. But reading the docs (there is a section in there which is useful to read): In addition, the prefix is used in an unusual way in finding the directories to search for header files. For each of the standard directories whose name normally begins with /usr/local/lib/gcc (more precisely, with the value of GCC_INCLUDE_DIR), GCC tries replacing that beginning with the specified prefix to produce an alternate directory name. Thus, with -Bfoo/, GCC will search foo/bar where it would normally search /usr/local/lib/bar. These alternate directories are searched first; the standard directories come next. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19856