This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Search standard subdirs of -B-specified directories (take 2)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>,Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 23 May 2004 22:12:43 -0400
- Subject: Re: [PATCH] Search standard subdirs of -B-specified directories (take 2)
- References: <40AF50D2.7030209@gnu.org>
On Sat, May 22, 2004 at 03:08:34PM +0200, Paolo Bonzini wrote:
> + add_prefix (&exec_prefixes, concat (value, "libexec/gcc/", NULL),
> + NULL, PREFIX_PRIORITY_B_OPT, 1, &warn_B, 0);
> add_prefix (&startfile_prefixes, value, NULL,
> PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
> ! add_prefix (&startfile_prefixes, concat (value, "lib/gcc/", NULL),
> ! NULL, PREFIX_PRIORITY_B_OPT, 1, &warn_B, 0);
> ! add_prefix (&include_prefixes, value, NULL,
> ! PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
> ! add_prefix (&include_prefixes, concat (value, "lib/gcc/", NULL),
> ! NULL, PREFIX_PRIORITY_B_OPT, 1, NULL, 0);
> n_switches++;
> }
> break;
In addition to Zack's comments, I'm strongly opposed to any patch that
hardcodes the strings "lib" and "libexec" in the source!
--
Daniel Jacobowitz