[PATCH] Search standard subdirs of -B-specified directories (take 2)
Daniel Jacobowitz
drow@false.org
Mon May 24 12:42:00 GMT 2004
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
More information about the Gcc-patches
mailing list