This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Search standard subdirs of -B-specified directories (take 2)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]